Skip to content

Commit a567b52

Browse files
committed
refactor: publishing flow
1 parent 5c03483 commit a567b52

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

.github/workflows/npm-publish.yml

-30
This file was deleted.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
},
1212
"scripts": {
1313
"dev": "vitest",
14-
"release": "npx np",
14+
"release": "npm run changelog && npx np",
1515
"docs": "node ./docs-src",
1616
"lint": "biome lint ./src ./scripts",
1717
"test": "vitest run --coverage",
18-
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
18+
"changelog": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'chore: update changelog.md' && git push"
1919
},
2020
"keywords": [
2121
"posthtml",

0 commit comments

Comments
 (0)