mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-14 18:55:10 +01:00
added yarn cache to deployment script
This commit is contained in:
parent
addd8ca031
commit
695ccef2b5
3
.github/workflows/deploying.yml
vendored
3
.github/workflows/deploying.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user