Skip to content

Workflow file for this run

name: Build on PR
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
-uses: action/checkout@v3
-name: Use Node.js
uses: action/setup-node@v3

Check failure on line 14 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
with:
node-version: '20'
-name: Install dependencies
run: npm install
-name: Generate prisma client
run: npm run db:generate
-name: Run build
run: npm run dev