Skip to content

Workflow file for this run

name: Build and deploy
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Set up Node.js
working-directory: ./server
uses: actions/setup-node@v2

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

View workflow run for this annotation

GitHub Actions / Build and deploy

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 16, Col: 9): Unexpected value 'uses' .github/workflows/build.yml (Line: 17, Col: 9): Unexpected value 'with'
with:
node-version: '20'
- name: Install dependencies
working-directory: ./server
run: npm install
- name: Generate Prisma Client
working-directory: ./server
run: npx prisma generate
- name: Build
working-directory: ./server
run: npm run build