chore(ci): switch publish to OIDC trusted publishing (#1839)

This commit is contained in:
Felix Weinberger 2026-04-13 14:32:30 +01:00 • committed by GitHub
commit bf1e022bd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,10 +59,12 @@ jobs:
with:
node-version: 24
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Ensure npm CLI supports OIDC trusted publishing
run: npm install -g npm@11.5.1
- name: Determine npm tag
id: npm-tag
run: |
@ -85,5 +87,3 @@ jobs:
fi
- run: npm publish --provenance --access public ${{ steps.npm-tag.outputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}