From 126a8d0ba1ad0785e7cbbf33784c7bac7f605635 Mon Sep 17 00:00:00 2001 From: Klaus Hott Date: Thu, 22 Jan 2026 11:50:57 -0300 Subject: [PATCH] `npm ci` is preferred over `npm install` for CI workflows --- .github/workflows/CI.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0af0719c5..a5aeb103e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,7 +19,7 @@ jobs: node-version: 20 cache: 'npm' - name: Install - run: npm install + run: npm ci - name: lint run: npm run lint @@ -33,7 +33,7 @@ jobs: node-version: 20 cache: 'npm' - name: Install - run: npm install + run: npm ci - name: Build run: npm run build - name: Build test app @@ -54,7 +54,7 @@ jobs: node-version: ${{ matrix.node }} cache: 'npm' - name: Install - run: npm install + run: npm ci - name: Run tests run: npm run test:all -- --runInBand @@ -68,7 +68,7 @@ jobs: node-version: 20 cache: 'npm' - name: Install - run: npm install + run: npm ci - name: Run tests run: npm run test:all -- --runInBand @@ -82,6 +82,6 @@ jobs: node-version: 20 cache: 'npm' - name: Install - run: npm install + run: npm ci - name: Run tests run: npm run test:all -- --runInBand