Skip to content

Commit

Permalink
ci: move prepublish to package
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 23, 2023
1 parent a92ff91 commit fb11903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ jobs:
- name: Install Dependencies
run: pnpm i

- name: PNPM build
run: pnpm run build

- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"lint": "eslint --cache .",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"release": "bumpp -r"
"release": "bumpp -r",
"prepublishOnly": "npm run build"
},
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit fb11903

Please sign in to comment.