We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9191d7 commit 61db806Copy full SHA for 61db806
.github/workflows/pull-request.yml
@@ -0,0 +1,37 @@
1
+name: 'Pull Request'
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - dev
6
+ paths-ignore:
7
+ - .gitignore
8
+ - README.md
9
+ - LICENSE
10
+
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Use Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: v21.1.0
21
+ cache: 'npm'
22
23
+ - name: Install Dependencies and Build
24
+ run: |
25
+ npm ci
26
+ npx prisma generate
27
+ npm run build:prod
28
29
+ env:
30
+ CI: true
31
32
+ - name: Cache Prisma Binary
33
+ uses: actions/cache@v4
34
35
+ path: ~/.npm/_npx
36
+ key: prisma-binary-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
37
+ restore-keys: prisma-binary-${{ runner.os }}-
0 commit comments