Skip to content

Commit 9247784

Browse files
committed
fix: drop npm lockfile cache since package-lock.json is gitignored
npm ci requires a lockfile; switch to npm install in ci-dashboard and security-audit workflows to avoid cache resolution failures.
1 parent f644db4 commit 9247784

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/ci-dashboard.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ jobs:
2727
- uses: actions/setup-node@v4
2828
with:
2929
node-version: "20"
30-
cache: "npm"
31-
cache-dependency-path: codebenders-dashboard/package-lock.json
3230

3331
- name: Install dependencies
34-
run: npm ci
32+
run: npm install
3533

3634
- name: TypeScript type check
3735
run: npx tsc --noEmit

.github/workflows/security-audit.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ jobs:
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: "20"
25-
cache: "npm"
26-
cache-dependency-path: codebenders-dashboard/package-lock.json
2725

2826
- name: Install dependencies
29-
run: npm ci
27+
run: npm install
3028

3129
- name: Audit
3230
run: npm audit --audit-level=high

0 commit comments

Comments
 (0)