Skip to content

Commit 180327c

Browse files
ci: --ignore-scripts on post-release npm install (#2773)
As we are doing `--package-lock-only` (which does not actually install packages), we don't have the dependencies needed to run the `install.js` script, which is auto-run when installing. By passing `--ignore-scripts`, we skip running `install.js`, and only end up bumping the `package-lock.json`, which is what we want to do.
1 parent 3b88d73 commit 180327c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/post-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NEW_VERSION="${2}"
1212
git checkout master
1313

1414
# We need to update the package-lock.json to include the new version of the optional dependencies.
15-
npm install --package-lock-only
15+
npm install --package-lock-only --ignore-scripts
1616

1717
git add package-lock.json
1818

0 commit comments

Comments
 (0)