Skip to content

chore(deps): update actions/setup-node action to v4 #179

chore(deps): update actions/setup-node action to v4

chore(deps): update actions/setup-node action to v4 #179

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.VERCEL_TOKEN }}
TURBO_TEAM: ${{ secrets.VERCEL_TEAM }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/[email protected]
with:
version: 7.1.0
run_install: true
- uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'pnpm'
- name: Remove development API routes
run: rm -r apps/main/pages/api
- run: pnpm build --filter @apps/main^...
- run: pnpm turbo run lint
- run: pnpm turbo run test
- uses: amondnet/vercel-action@v25
with:
github-token: ${{ secrets.GH_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}