From 6cd882fddea0a53230f31a4172437ff14e9c92e1 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sun, 11 Jun 2023 07:32:17 +0530 Subject: [PATCH] ci: use `npm ci` to install dependencies --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c17e24ac..545146c9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -89,7 +89,7 @@ jobs: cache: "npm" - name: Install dependencies - run: npm i + run: npm ci - name: Install webpack ${{ matrix.webpack-version }} if: matrix.webpack-version != 'latest' @@ -127,7 +127,7 @@ jobs: cache: "npm" - name: Install dependencies - run: npm i + run: npm ci - name: Run tests for webpack version latest with experimentalUseImportModule run: npm run test:coverage -- --ci