From b7fdb3460b951def51db47b3614002f910122518 Mon Sep 17 00:00:00 2001 From: Max T Date: Fri, 7 Feb 2025 10:27:56 -0500 Subject: [PATCH] Switching from npm install to npm ci According to the NPM documentation, for automated environments, you should use `npm ci` over `npm install` as `ci` does a clean install, which doesn't try to upgrade any packages. It follows the package.json & package-lock.json strictly --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4f548e..e66d53e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: restore-keys: | ${{ runner.os }}-${{ env.cache-name }}- - name: Install npm packages - run: npm install + run: npm ci - name: Install & Cache apt packages if: runner.os == 'Linux' uses: awalsh128/cache-apt-pkgs-action@latest