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
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ jobs:
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}
# Install latest version of npm for publishing with provenance
- run: npm install -g npm
- run: npm whoami; npm --ignore-scripts publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
# npm 11.5.1+ is required for trusted publishing (OIDC) with provenance
- run: npm install -g npm@latest
Comment on lines +42 to +43
- run: npm --ignore-scripts publish --provenance --access public
publish-github:
name: Publish to GitHub Packages
runs-on: ubuntu-latest
Expand Down
Loading