We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8c5e27 + 1dce20e commit 4b33601Copy full SHA for 4b33601
1 file changed
.github/workflows/release.yaml
@@ -9,17 +9,18 @@ jobs:
9
contents: read
10
id-token: write # npm provenance
11
steps:
12
- - uses: actions/checkout@v4
13
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@v5
+ - uses: actions/setup-node@v5
14
with:
15
node-version: 22
16
registry-url: 'https://registry.npmjs.org'
17
+ # npm trusted publishing (OIDC) requires npm >= 11.5.1; Node 22 bundles npm 10.x
18
+ - run: npm install -g npm@latest
19
- run: npm ci
20
- run: npm run lint
21
- run: npm run typecheck
22
- run: npm run format:check
23
- run: npm run test:coverage
24
- run: npm run build
25
+ # Auth via npm trusted publishing (OIDC) — no token needed; provenance is implied
26
- run: npm publish --provenance --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments