Skip to content

Commit 5dbfc2b

Browse files
committed
fix: Change npm ci to npm install in CI workflow
- The CI workflow was removing package-lock.json in cleanup step - But then trying to use npm ci which requires existing package-lock.json - Changed to npm install to allow fresh installation without lockfile
1 parent 574eb54 commit 5dbfc2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
rm -rf node_modules package-lock.json
4848
npm cache clean --force
4949
- name: Install node modules
50-
run: npm ci --no-audit --no-fund --progress=false
50+
run: npm install --no-audit --no-fund --progress=false
5151
- name: Presubmit check (e.g. lint, format)
5252
# do not run this on Windows (it fails and not necessary)
5353
# Only run on shard 1 to avoid redundant execution
@@ -119,7 +119,7 @@ jobs:
119119
with:
120120
node-version: lts/*
121121
- name: Install dependencies
122-
run: npm ci --no-audit --no-fund --progress=false
122+
run: npm install --no-audit --no-fund --progress=false
123123

124124
- name: Download blob reports from GitHub Actions Artifacts
125125
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)