Skip to content

created .github file #557

created .github file

created .github file #557

Workflow file for this run

name: Build Succeeds on PR
on:
pull_request:
branches:
- master
jobs:
build:
name: build the project
runs-on: ubuntu-latest

Check failure on line 11 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 11
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version:'20'
- name: Install dependencies
run: npm install
- name: Generate prisma
run: npm run db:generate
- name: Run build
run: npm run build