From 7936fced23f530d92e0b065109450f5bfc002f6a Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Sun, 17 May 2026 17:50:55 +0200 Subject: [PATCH] Prefer npm ci over npm install See: https://docs.npmjs.com/cli/v11/commands/npm-ci --- .github/workflows/test-javascript.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-javascript.yml b/.github/workflows/test-javascript.yml index 3c970d46..b495734d 100644 --- a/.github/workflows/test-javascript.yml +++ b/.github/workflows/test-javascript.yml @@ -35,9 +35,9 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' cache-dependency-path: package-lock.json - - run: npm install + - run: npm ci if: ${{ matrix.os != 'windows-latest' }} - - run: npm install --no-optional + - run: npm ci --no-optional if: ${{ matrix.os == 'windows-latest' }} - run: npm test - run: npm run eslint