Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Noochila authored Sep 11, 2024
1 parent a90a82d commit 9467510
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
name: Build Succeeds on PR Raise
name: Build on PR

on:
pull_request:
branches:
- '**'
- master

jobs:
build:
name: Build on PR Raise
runs-on: ubuntu-latest
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 Clients
run: cd packages/db && npx prisma generate && cd ../..

- name: Generate prisma client
run: npm run db:generate

- name: Run Build
run: npm run build

0 comments on commit 9467510

Please sign in to comment.