fix(ci): ensure that dependencies are installed before deployment
This commit is contained in:
parent
0d5d6e7c45
commit
1623c2426c
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -28,6 +28,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: |
|
- run: |
|
||||||
|
corepack enable
|
||||||
|
yarn
|
||||||
npx netlify-cli deploy --prod
|
npx netlify-cli deploy --prod
|
||||||
env:
|
env:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
|
||||||
|
|
Reference in a new issue