From 03da0d782faecb394737aba90ef41764f48f1c3e Mon Sep 17 00:00:00 2001 From: d3xter666 Date: Fri, 27 Feb 2026 15:05:30 +0200 Subject: [PATCH] ci: Enable Node's strict engine check on CI --- .github/workflows/ci.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a2bc770..f62ea5ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: node-version: 20.17.0 - name: Install dependencies - run: npm ci + run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo - name: Perform ESLint check run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index deac9b98..d11910ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: node-version: ${{ matrix.version }} - name: Install dependencies - run: npm ci + run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo - name: Run unit tests run: npm run unit