Skip to content

Commit 2afdc6d

Browse files
committed
fix: use npm install instead of npm ci in publish workflow
1 parent 099c600 commit 2afdc6d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/npm-publish-reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
node-version-file: ${{ inputs.node-version-file }}
3535
registry-url: https://registry.npmjs.org/
3636

37-
- run: npm ci
37+
# Use npm install (not npm ci) because package-lock.json may be
38+
# out of sync after workspace protocol resolution.
39+
- run: npm install
3840

3941
- if: ${{ inputs.build-before-publish }}
4042
run: npm run build

0 commit comments

Comments
 (0)