Skip to content

Commit

Permalink
Move npm i from changesets workflow to the script (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
kin0992 authored Jan 10, 2024
1 parent 4356032 commit 35e59c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23 # v1.4.5
with:
# Note: `npm i` after versioning is necessary to refresh package-lock.json file with new version
version: npm run version && npm i
version: npm run version
commit: "Update CHANGELOG and prepare next release"
title: "Bump version"
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "turbo run lint",
"test": "turbo run test",
"changeset": "changeset",
"version": "changeset version"
"version": "changeset version && npm i"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down

0 comments on commit 35e59c2

Please sign in to comment.