Skip to content

Commit aa72983

Browse files
committed
Update build script.
1 parent b2420bc commit aa72983

1 file changed

Lines changed: 2 additions & 23 deletions

File tree

.github/workflows/build-and-test.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,10 @@ on: [push, pull_request, workflow_dispatch]
44
jobs:
55
build-and-test:
66
runs-on: ubuntu-latest
7-
container: node:22
7+
container: node:20
88
services:
9-
postgres:
10-
image: postgres:10
11-
env:
12-
POSTGRES_USER: postgres
13-
POSTGRES_PASSWORD: postgres
14-
POSTGRES_DB: postgres
15-
POSTGRES_HOST: postgres
16-
POSTGRES_PORT: 5432
17-
POSTGRES_URL: postgresql://postgres:postgres@postgres:5432/postgres
18-
options: >-
19-
--health-cmd pg_isready
20-
--health-interval 5s
21-
--health-timeout 5s
22-
--health-retries 5
23-
249
redis:
25-
image: redis:5.0
10+
image: redis:3.0
2611
options: >-
2712
--health-cmd "redis-cli ping"
2813
--health-interval 5s
@@ -49,11 +34,5 @@ jobs:
4934

5035
- name: Test
5136
env:
52-
POSTGRES_USER: postgres
53-
POSTGRES_PASSWORD: postgres
54-
POSTGRES_DB: postgres
55-
POSTGRES_HOST: postgres
56-
POSTGRES_PORT: 5432
57-
POSTGRES_URL: postgresql://postgres:postgres@postgres:5432/postgres
5837
REDIS_URL: redis://redis:6379
5938
run: bun run test

0 commit comments

Comments
 (0)