ci: move prepublish to package

This commit is contained in:
三咲智子 Kevin Deng 2023-06-23 20:49:46 +08:00
parent a92ff91c16
commit fb119038e8
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 2 additions and 4 deletions

View File

@ -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:

View File

@ -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": [