2626
2727 - uses : actions/setup-node@v6
2828 with :
29- node-version : " 20 "
29+ node-version : " 24 "
3030 cache : " pnpm"
3131
3232 - name : Install dependencies
4747
4848 - uses : actions/setup-node@v6
4949 with :
50- node-version : " 20 "
50+ node-version : " 24 "
5151 cache : " pnpm"
5252
5353 - name : Install dependencies
6868
6969 - uses : actions/setup-node@v6
7070 with :
71- node-version : " 20 "
71+ node-version : " 24 "
7272 cache : " pnpm"
7373
7474 - name : Install dependencies
8080 test-integration :
8181 name : Integration Tests
8282 runs-on : ubuntu-latest
83- services :
84- postgres :
85- image : postgres:16
86- env :
87- POSTGRES_USER : postgres
88- POSTGRES_PASSWORD : postgres
89- POSTGRES_DB : clabot_test
90- ports :
91- - 5432:5432
92- options : >-
93- --health-cmd pg_isready
94- --health-interval 10s
95- --health-timeout 5s
96- --health-retries 5
9783 env :
98- DATABASE_URL : postgres://postgres:postgres@localhost:5432/clabot_test
9984 SESSION_SECRET : ci-integration-test-secret
10085 steps :
10186 - uses : actions/checkout@v6
@@ -106,37 +91,19 @@ jobs:
10691
10792 - uses : actions/setup-node@v6
10893 with :
109- node-version : " 20 "
94+ node-version : " 24 "
11095 cache : " pnpm"
11196
11297 - name : Install dependencies
11398 run : pnpm install --frozen-lockfile
11499
115- - name : Apply database migrations
116- run : pnpm db:migrate
117-
118100 - name : Run integration tests
119101 run : pnpm test:integration
120102
121103 test-e2e :
122104 name : E2E Tests
123105 runs-on : ubuntu-latest
124- services :
125- postgres :
126- image : postgres:16
127- env :
128- POSTGRES_USER : postgres
129- POSTGRES_PASSWORD : postgres
130- POSTGRES_DB : clabot_test
131- ports :
132- - 5432:5432
133- options : >-
134- --health-cmd pg_isready
135- --health-interval 10s
136- --health-timeout 5s
137- --health-retries 5
138106 env :
139- DATABASE_URL : postgres://postgres:postgres@localhost:5432/clabot_test
140107 SESSION_SECRET : ci-e2e-test-secret
141108 steps :
142109 - uses : actions/checkout@v6
@@ -147,7 +114,7 @@ jobs:
147114
148115 - uses : actions/setup-node@v6
149116 with :
150- node-version : " 20 "
117+ node-version : " 24 "
151118 cache : " pnpm"
152119
153120 - name : Install dependencies
@@ -156,8 +123,5 @@ jobs:
156123 - name : Install Playwright browsers
157124 run : pnpm exec playwright install chromium --with-deps
158125
159- - name : Apply database migrations
160- run : pnpm db:migrate
161-
162126 - name : Run e2e tests
163127 run : pnpm test:e2e
0 commit comments