Skip to content

Commit 36112d4

Browse files
author
OpenClaw
committed
ci: fix trusted publishing - keep registry-url, remove NODE_AUTH_TOKEN
1 parent 17cbb9d commit 36112d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ on:
88
jobs:
99
publish:
1010
runs-on: ubuntu-latest
11-
environment: Publish to npm
1211
permissions:
13-
contents: write
12+
contents: read
1413
id-token: write
1514

1615
steps:
@@ -24,6 +23,7 @@ jobs:
2423
uses: actions/setup-node@v4
2524
with:
2625
node-version: '22'
26+
registry-url: 'https://registry.npmjs.org'
2727

2828
- name: Install dependencies
2929
run: bun install
@@ -40,4 +40,4 @@ jobs:
4040
run: bun run build
4141

4242
- name: Publish to npm
43-
run: npm publish --access public --provenance
43+
run: npm publish --access public

0 commit comments

Comments
 (0)