Skip to content

Commit 65fbf44

Browse files
author
Eyal Rozen
committed
ci: try with old yaml
1 parent 1ed4ce9 commit 65fbf44

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,14 @@ jobs:
77
name: Run eslint
88
runs-on: ubuntu-latest
99

10-
strategy:
11-
matrix:
12-
node: [24.x]
13-
1410
steps:
1511
- name: Check out Git repository
1612
uses: actions/checkout@v4
1713

1814
- name: Set up Node.js
1915
uses: actions/setup-node@v4
2016
with:
21-
node-version: ${{ matrix.node }}
17+
node-version: 24
2218
cache: 'npm'
2319

2420
- name: Install dependencies
@@ -41,15 +37,11 @@ jobs:
4137
tests:
4238
name: Run Tests
4339
runs-on: ubuntu-latest
44-
strategy:
45-
matrix:
46-
node: [24.x]
40+
container: node:24
4741

4842
services:
4943
redis:
5044
image: redis:8.4.0
51-
ports:
52-
- 6379:6379
5345
options: >-
5446
--health-cmd "redis-cli ping"
5547
--health-interval 10s
@@ -60,17 +52,15 @@ jobs:
6052
- name: Check out Git repository
6153
uses: actions/checkout@v4
6254

63-
- name: Init Nodejs
64-
uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1
65-
with:
66-
node-version: ${{ matrix.node }}
55+
- name: Install Node.js dependencies
56+
run: npm ci
6757

6858
- name: Run tests
6959
run: npm run test
7060
env:
7161
NODE_ENV: test
72-
REDIS_HOST: redis
73-
REDIS_PORT: 6379
62+
DB_HOST: redis
63+
DB_PORT: 6379
7464

7565
- uses: actions/upload-artifact@v5
7666
if: always()

0 commit comments

Comments
 (0)