Skip to content

Try install with a token? #2

Try install with a token?

Try install with a token? #2

Workflow file for this run

name: default-ci
on:
push:
branches-ignore:
- main
- develop
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
- name: Check prettier
run: npm run check-format
- name: Check types
run: npm run check-types
- name: Vercel deploy to preview
env:
VERCEL_ORG_ID: team_qEUZmPwX3J0FFDAk23fSvIlq
VERCEL_PROJECT_ID: prj_Fp3PcYR1CrST2QwpLO2fEwJFXkdO
run: |
npm install --global vercel@canary
vercel pull --yes --scope i-exec --token ${{ secrets.VERCEL_TOKEN }}
VITE_APP_COMMIT=${GITHUB_SHA} vercel build --scope i-exec --token ${{ secrets.VERCEL_TOKEN }}
vercel deploy --prebuilt --scope i-exec --token ${{ secrets.VERCEL_TOKEN }}