Skip to content

Commit c993d53

Browse files
committed
[ci skip] chore: fix publish.yml
1 parent 28fa818 commit c993d53

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
permissions:
88
id-token: write # Required for OIDC
9-
contents: write
9+
contents: read
1010

1111
jobs:
1212
publish-npm:
@@ -21,7 +21,8 @@ jobs:
2121
node-version: 22
2222
registry-url: https://registry.npmjs.org/
2323
- run: pnpm install
24-
- run: pnpm release
24+
- run: pnpm build
25+
- run: pnpm publish
2526
env:
2627
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2728
GITHUB_TOKEN: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)