Skip to content

Commit a573cfb

Browse files
committed
ci: Fail-fast "npm ci" if deps require unsupported node version
1 parent 0a81de0 commit a573cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: 20.11.0
2626

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

3030
- name: Perfrom ESLint check
3131
run: npm run lint

0 commit comments

Comments
 (0)