Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/npmPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ on:
type: boolean

jobs:
version:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
id-token: write # Required for OIDC: https://docs.npmjs.com/trusted-publishers
steps:
- name: Generate a GitHub App token
id: generateAppToken
Expand Down Expand Up @@ -102,8 +102,6 @@ jobs:

- name: Publish to npm
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Set name version in GitHub ENV
run: echo "NAME=$(jq '.name' package.json)" >> "$GITHUB_ENV"
Expand Down