Skip to content

Commit 59d9cfb

Browse files
committed
Fix configurations for the release workflow
1 parent b309c1b commit 59d9cfb

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.changeset/hot-schools-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"vn-number": patch
3+
---
4+
5+
Fix configurations for release workflow

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
3838
id: changesets
3939
with:
40-
publish: pnpm publish
40+
publish: pnpm release
4141
commitMode: 'github-api'
4242
title: 'Release new version'
4343
commit: 'Bump version package'

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"email": "hi@khanh.id"
1818
},
1919
"private": false,
20+
"publishConfig": {
21+
"access": "public"
22+
},
2023
"sideEffects": false,
2124
"type": "module",
2225
"main": "./dist/index.js",
@@ -29,6 +32,7 @@
2932
"scripts": {
3033
"format": "biome check --write",
3134
"prepublishOnly": "tsdown",
35+
"release": "tsdown && changeset publish",
3236
"test": "vitest"
3337
},
3438
"devDependencies": {

0 commit comments

Comments
 (0)