Skip to content

Commit 92ab5af

Browse files
committed
chore: Add missing release script
1 parent ad1250d commit 92ab5af

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
- name: Audit dependencies
3838
run: pnpm audit
3939

40-
- name: Build package
41-
run: pnpm build
42-
4340
- name: Create Release
4441
env:
4542
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lint:eslint:fix": "pnpm lint:eslint --fix",
3737
"lint:types": "tsc --noEmit",
3838
"prepare": "husky",
39-
"prepublishOnly": "pnpm build",
39+
"release": "pnpm build && pnpm semantic-release",
4040
"playground": "npm -C ./playground run dev",
4141
"test": "vitest run",
4242
"test:watch": "vitest",

0 commit comments

Comments
 (0)