From 01ffe394839e905d7b23c7afb1e6f02440cda8bd Mon Sep 17 00:00:00 2001 From: nitsan Date: Mon, 17 Nov 2025 10:39:25 +0200 Subject: [PATCH 1/2] replace order of npm ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01c9e09..433c179 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: cache: 'npm' - name: 'npm install' run: | - npm ci --prefer-offline --no-audit --no-fund npm i --prefer-offline --no-audit --no-fund # fix npm bug + npm ci --prefer-offline --no-audit --no-fund unit-test: name: unit-tests runs-on: ubuntu-latest From 018d91574f41b265765006f763902d32de10ddf5 Mon Sep 17 00:00:00 2001 From: nitsan Date: Mon, 17 Nov 2025 10:41:50 +0200 Subject: [PATCH 2/2] split --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 433c179..be420a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,10 @@ jobs: with: node-version: 22 cache: 'npm' - - name: 'npm install' - run: | - npm i --prefer-offline --no-audit --no-fund # fix npm bug - npm ci --prefer-offline --no-audit --no-fund + - name: 'npm install (fix npm bug)' + run: npm i --prefer-offline --no-audit --no-fund + - name: 'npm clean install' + run: npm ci --prefer-offline --no-audit --no-fund unit-test: name: unit-tests runs-on: ubuntu-latest