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
with:
node-version: 18
cache: 'yarn'
- name: Install Yarn packages
run: yarn install
- name: Build project
run: npm run build
run: yarn build
- name: Upload production-ready build files
uses: actions/upload-artifact@v3