added yarn cache to deployment script

This commit is contained in:
mrjvs 2023-03-10 19:35:51 +01:00
parent addd8ca031
commit 695ccef2b5

View File

@ -18,12 +18,13 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
cache: 'yarn'
- name: Install Yarn packages - name: Install Yarn packages
run: yarn install run: yarn install
- name: Build project - name: Build project
run: npm run build run: yarn build
- name: Upload production-ready build files - name: Upload production-ready build files
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3