Skip to content

Commit 53d5d93

Browse files
committed
Setup trusted publishing for ts reader
1 parent 23fc341 commit 53d5d93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

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

88
jobs:
99
publish-ts-reader:
10+
permissions:
11+
id-token: write
1012
if: startsWith(github.ref, 'refs/tags/pkg-')
1113
defaults:
1214
run:
@@ -16,14 +18,12 @@ jobs:
1618
- uses: actions/checkout@v5
1719
- uses: actions/setup-node@v5
1820
with:
19-
node-version: '22.x'
21+
node-version: '24.x'
2022
registry-url: 'https://registry.npmjs.org'
2123
- run: npm version from-git --git-tag-version=false
2224
- run: npm ci
2325
- run: npm run build
2426
- run: npm publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2727

2828
publish-rs-reader:
2929
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)