Skip to content

Commit 03da0d7

Browse files
d3xter666flovogt
authored andcommitted
ci: Enable Node's strict engine check on CI
1 parent 3c30aa4 commit 03da0d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: 20.17.0
2323

2424
- name: Install dependencies
25-
run: npm ci
25+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
2626

2727
- name: Perform ESLint check
2828
run: npm run lint

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
node-version: ${{ matrix.version }}
3131

3232
- name: Install dependencies
33-
run: npm ci
33+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
3434

3535
- name: Run unit tests
3636
run: npm run unit

0 commit comments

Comments
 (0)