1
0
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2026-01-17 23:15:13 +01:00

ci: trusted npm package publishing (OIDC)

Ref: https://docs.npmjs.com/trusted-publishers
This commit is contained in:
2026-01-14 23:36:26 +01:00
parent 9cc2cd435c
commit ce4c314fa5

View File

@@ -4,6 +4,10 @@ on:
push: push:
branches: [main, beta] branches: [main, beta]
permissions:
id-token: "write" # OIDC
contents: "read"
jobs: jobs:
release: release:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
@@ -34,4 +38,3 @@ jobs:
run: "node --run release" run: "node --run release"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}