Skip to content

Commit 3c469d1

Browse files
committed
feat: NPM auth via OIDC
This is the recommended way at the moment.
1 parent 534b37d commit 3c469d1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on:
44
push:
55
tags: ["v*"]
66

7+
permissions:
8+
contents: read
9+
id-token: write
10+
711
jobs:
812
publish:
913
runs-on: ubuntu-latest
1014
steps:
1115
- uses: actions/checkout@v4
1216
- uses: actions/setup-node@v4
1317
with:
14-
node-version: 22
18+
node-version: 24
1519
registry-url: "https://registry.npmjs.org"
16-
cache: yarn
1720
- run: yarn install --frozen-lockfile
18-
- run: yarn lint
1921
- run: yarn build
20-
- run: npm publish --access public
21-
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- run: npm publish

0 commit comments

Comments
 (0)