Skip to content

Commit 437ae9f

Browse files
committed
feat: Check multiple node versions in CI job
1 parent 60e502c commit 437ae9f

7 files changed

Lines changed: 92 additions & 1013 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77
jobs:
88
build-test-lint:
99
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
node-version: [ 18.x, 20.x, 22.x, 24.x ]
14+
name: build-test-lint (Node ${{ matrix.node-version }})
1015
steps:
1116
- uses: actions/checkout@v4
1217
- uses: actions/setup-node@v4
1318
with:
14-
node-version: 20
15-
cache: 'npm'
19+
node-version: ${{ matrix.node-version }}
20+
cache: npm
1621
- run: npm ci
1722
- run: npm run format:check
1823
- run: npm run lint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
.vscode
44
.DS_Store
55
.idea
6+
/temp

etc/everybodycodes-data.api.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)