Skip to content

Commit

Permalink
Update .github/workflows/update-package-json.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Vandersmith <[email protected]>
  • Loading branch information
chenyan-dfinity and rvanasa authored Sep 16, 2024
1 parent 78082ef commit 82cdaa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-package-json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ find . -name "package.json" | while read -r file; do
$SED_CMD -i 's/\("@dfinity\/[^"]*"\s*:\s*"\^*\)[0-9.]*"/\1'"$NEW_VERSION"'"/' "$file"
echo "Updated @dfinity/* versions in $file"
fi
# Update `package-lock.json`
npm install --prefix "$file/.." || exit 1
done

echo "Script completed."

0 comments on commit 82cdaa8

Please sign in to comment.