test #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Build and deployInvalid workflow file
|
||
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 | ||