Skip to content

Commit 568b0f9

Browse files
committed
set tag, remove pre/post publish commands
1 parent 1e7b042 commit 568b0f9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
# https://docs.npmjs.com/trusted-publishers
6868
- name: Publish to npm
69-
run: npm publish --dry-run
69+
run: npm publish --tag latest --dry-run
7070

7171
- name: Push commit and tag
7272
run: git push origin main --follow-tags

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
"eslint:fix": "node --run eslint -- --fix",
4848
"prettier:check": "prettier --check .",
4949
"prettier:format": "prettier --write .",
50-
"typecheck": "tsc --build",
51-
"prepublishOnly": "npm install && node --run build",
52-
"postpublish": "git push --follow-tags origin HEAD"
50+
"typecheck": "tsc --build"
5351
},
5452
"devDependencies": {
5553
"@biomejs/biome": "2.3.8",

0 commit comments

Comments
 (0)