Skip to content

Commit 6073562

Browse files
committed
use npm directly
1 parent 50db160 commit 6073562

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
permissions:
10+
id-token: write
1011
contents: read
1112
steps:
1213
- uses: actions/checkout@v4
1314
- uses: actions/setup-node@v4
1415
with:
1516
node-version: "20.x"
1617
- run: yarn build
17-
- run: yarn publish --provenance --access public
18+
- run: npm publish --provenance --access public
1819
env:
1920
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)