Skip to content

Commit

Permalink
fix: manually run script before publish (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun authored May 5, 2022
1 parent e200804 commit 1b67085
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
run: |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions
- name: Prerelease
run: pnpm prerelease

- name: Publish to NPM
# add `no-verify-access` due to https://github.com/lerna/lerna/issues/2788
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bootstrap": "lerna bootstrap",
"test": "lerna run test",
"lerna": "lerna",
"prepack": "lerna run build --since --include-dependencies --no-private",
"prerelease": "lerna run build --since --include-dependencies --no-private",
"prepare": "if test \"$NODE_ENV\" != \"production\" ; then husky install ; fi"
},
"devDependencies": {
Expand Down

0 comments on commit 1b67085

Please sign in to comment.