Merge pull request #260 from GRA0007/fix/vercel-deployment
Use NPM to install vercel cli
This commit is contained in:
commit
795e9a07a5
7
.github/workflows/deploy_frontend.yml
vendored
7
.github/workflows/deploy_frontend.yml
vendored
|
|
@ -23,13 +23,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
cache: yarn
|
|
||||||
cache-dependency-path: '**/yarn.lock'
|
|
||||||
- name: Install Vercel CLI
|
- name: Install Vercel CLI
|
||||||
run: yarn global install vercel@latest
|
run: npm install --global vercel@latest
|
||||||
- name: Pull Vercel Environment Information
|
- name: Pull Vercel Environment Information
|
||||||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||||
- name: Build Project Artifacts
|
- name: Build Project Artifacts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue