Skip to content

Commit e42a83b

Browse files
committed
fix: use npm install instead of npm ci in release workflow
npm ci requires exact lockfile match which fails due to version differences between local and CI environments
1 parent 5b60167 commit e42a83b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auto-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ jobs:
196196
- name: 🔧 Install root dependencies
197197
run: |
198198
# Install root dependencies to get husky and other tools
199-
npm ci
199+
npm install --legacy-peer-deps
200200
201201
- name: 🏗️ Build JavaScript package
202202
working-directory: packages/js
203203
run: |
204-
npm ci --ignore-scripts
204+
npm install --legacy-peer-deps --ignore-scripts
205205
npm run build
206206
npm pack
207207
@@ -259,12 +259,12 @@ jobs:
259259
- name: 🔧 Install root dependencies
260260
run: |
261261
# Install root dependencies to get husky and other tools
262-
npm ci
262+
npm install --legacy-peer-deps
263263
264264
- name: 📦 Publish to npm
265265
working-directory: packages/js
266266
run: |
267-
npm ci --ignore-scripts
267+
npm install --legacy-peer-deps --ignore-scripts
268268
npm run build
269269
270270
# Determine npm tag

0 commit comments

Comments
 (0)