We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219930f commit 0b89009Copy full SHA for 0b89009
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,26 @@
1
+name: test
2
+on: [push, pull_request]
3
+jobs:
4
+ test:
5
+ runs-on: ubuntu-latest
6
+ services:
7
+ postgres:
8
+ image: postgres:16-alpine
9
+ ports:
10
+ - 5432:5432
11
+ env:
12
+ POSTGRES_USER: postgres
13
+ POSTGRES_PASSWORD: postgres
14
+ POSTGRES_DB: postgres
15
+ options: >-
16
+ --health-cmd "pg_isready -U postgres"
17
+ --health-interval 5s
18
+ --health-timeout 3s
19
+ --health-retries 3
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 20
25
+ - run: npm install
26
+ - run: npm test
0 commit comments