Skip to content

Commit a838196

Browse files
committed
Use publish-package script
1 parent a9a00b7 commit a838196

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
with:
9797
commit: 'Publish package'
9898
title: 'Publish package'
99-
publish: pnpm build && pnpm changeset publish
99+
publish: pnpm publish-package
100100
env:
101101
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102102
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"dev": "vitest --project node",
4141
"lint": "eslint . && prettier --check .",
4242
"lint:fix": "eslint --fix . && prettier --write .",
43+
"publish-package": "pnpm build && changeset publish",
4344
"test": "pnpm test:types && pnpm test:treeshakability && pnpm test:unit && pnpm test:e2e && pnpm test:exports",
4445
"test:e2e": "./test/e2e/test.sh",
4546
"test:exports": "node ./test/exports/module.mjs && node ./test/exports/commonjs.cjs",

0 commit comments

Comments
 (0)