Skip to content

Commit 82cdaa8

Browse files
Update .github/workflows/update-package-json.sh
Co-authored-by: Ryan Vandersmith <[email protected]>
1 parent 78082ef commit 82cdaa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-package-json.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ find . -name "package.json" | while read -r file; do
3232
$SED_CMD -i 's/\("@dfinity\/[^"]*"\s*:\s*"\^*\)[0-9.]*"/\1'"$NEW_VERSION"'"/' "$file"
3333
echo "Updated @dfinity/* versions in $file"
3434
fi
35+
# Update `package-lock.json`
36+
npm install --prefix "$file/.." || exit 1
3537
done
3638

3739
echo "Script completed."

0 commit comments

Comments
 (0)