Skip to content

Commit

Permalink
ci(publish): sync package-lock files state (includes private packages)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc committed Sep 20, 2023
1 parent 63c1040 commit dcf5f67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/update-package-lock/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ runs:
- name: Update package-lock's
shell: bash
run: |
# Sync package-lock file state (root level)
npm i --no-audit --no-progress --package-lock-only
# Remove the node_modules directory from all packages
lerna clean -y
lerna exec --no-private -- npm i --no-audit --no-progress --package-lock-only --ignore-scripts
# Sync package-lock files state (includes private packages)
lerna exec -- npm i --no-audit --no-progress --ignore-scripts --package-lock-only --lockfile-version 2
# root deps don't update correctly on first regeneration O_o
npm i --no-audit --no-progress --package-lock-only
Expand Down

0 comments on commit dcf5f67

Please sign in to comment.