Merge pull request #260 from GRA0007/fix/vercel-deployment

Use NPM to install vercel cli
This commit is contained in:
Benji Grant 2023-06-10 12:05:58 +10:00 committed by GitHub
commit 795e9a07a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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