Skip to content

Commit 396147b

Browse files
O6lvl4claude
andcommitted
fix(ci): remove npm cache and npm ci since package-lock.json is gitignored
Use npm install instead of npm ci, and remove cache: 'npm' from setup-node steps since package-lock.json is in .gitignore. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4f6da83 commit 396147b

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
cache: 'npm'
2524

2625
- name: Install dependencies
27-
run: npm ci
26+
run: npm install
2827

2928
- name: Build
3029
run: npm run build
@@ -46,10 +45,9 @@ jobs:
4645
uses: actions/setup-node@v4
4746
with:
4847
node-version: '20.x'
49-
cache: 'npm'
5048

5149
- name: Install dependencies
52-
run: npm ci
50+
run: npm install
5351

5452
- name: Build
5553
run: npm run build

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
with:
2222
node-version: '20.x'
2323
registry-url: 'https://registry.npmjs.org'
24-
cache: 'npm'
2524

2625
- name: Install dependencies
27-
run: npm ci
26+
run: npm install
2827

2928
- name: Build
3029
run: npm run build

0 commit comments

Comments
 (0)