We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7e2bfc commit c476a67Copy full SHA for c476a67
1 file changed
.github/workflows/jest.yml
@@ -0,0 +1,33 @@
1
+name: Jest Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
+ cache: 'npm'
21
22
+ - name: Install dependencies
23
+ run: npm ci
24
25
+ # - name: Setup Database
26
+ # run: |
27
+ # npx prisma generate
28
+ # npx prisma db push
29
30
+ - name: Run tests
31
+ run: npm test
32
+ env:
33
+ DATABASE_URL: ${{ secrets.DATABASE_URL }}
0 commit comments