Skip to content

Create node.js.yml

Create node.js.yml #6

Workflow file for this run

name: Deploy to Vercel
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18"
- run: npm ci
- run: npm run build
- uses: amondnet/vercel-action@v20
with:
vercel-token: $${{ secrets.VERCEL_TOKEN }}
vercel-org-id: $${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}