Skip to content

Commit e6e0688

Browse files
committed
LLM-26486 Publish to npm using OIDC
1 parent 77ef966 commit e6e0688

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,14 @@ jobs:
1212
contents: read
1313
id-token: write
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
15+
- uses: actions/checkout@v6
16+
- uses: actions/setup-node@v6
1717
with:
18-
node-version: '20.x'
18+
node-version: '24'
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- name: Install dependencies
2222
run: npm ci
2323

2424
- name: Publish to NPM
25-
run: npm publish --access public --provenance --tag beta
26-
continue-on-error: true
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
run: npm publish --access public --tag beta

0 commit comments

Comments
 (0)