Skip to content

Commit 39ed768

Browse files
committed
trusted
1 parent 585d33e commit 39ed768

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,12 @@ jobs:
261261

262262
- uses: actions/setup-node@v4
263263
with:
264-
node-version: 20
264+
node-version: '24'
265265
registry-url: 'https://registry.npmjs.org'
266266

267+
# Uses npm Trusted Publishing (OIDC). No NPM_TOKEN needed.
268+
# Configure once at npmjs.com → package @hai.ai/jacs → Trusted Publisher:
269+
# Organization/user, Repository, Workflow filename: release.yml
267270
- name: Publish to npm
268-
run: npm publish --access public --provenance
271+
run: npm publish --access public
269272
working-directory: jacsnpm
270-
env:
271-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)