Skip to content

Commit 790e666

Browse files
committed
fix: use npm install in workflows
1 parent 8c813ac commit 790e666

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
- uses: actions/setup-node@v4
3939
with:
4040
node-version: 22
41-
cache: npm
42-
- run: npm ci
41+
- run: npm install
4342
- name: Build compiled entrypoints
4443
if: ${{ matrix.task.needs_build }}
4544
run: npm run build

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
with:
2020
node-version: 22
2121
registry-url: https://registry.npmjs.org
22-
cache: npm
23-
- run: npm ci
22+
- run: npm install
2423
- run: npm run build
2524
- run: npm publish
2625
env:
@@ -38,8 +37,7 @@ jobs:
3837
- uses: actions/setup-node@v4
3938
with:
4039
node-version: 22
41-
cache: npm
42-
- run: npm ci
40+
- run: npm install
4341
- run: npm run build
4442

4543
- uses: docker/setup-buildx-action@v3
@@ -115,8 +113,7 @@ jobs:
115113
- uses: actions/setup-node@v4
116114
with:
117115
node-version: 22
118-
cache: npm
119-
- run: npm ci
116+
- run: npm install
120117
- run: npm run build
121118
- name: Build standalone binary
122119
env:

0 commit comments

Comments
 (0)