Skip to content
Closed
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
7 changes: 4 additions & 3 deletions .github/workflows/ts-publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ jobs:
fi

# Preferred auth is the npmjs.com Trusted Publisher for this workflow
# (no secret, no expiry). NPM_TOKEN is only a fallback while the trusted
# publisher is not configured yet; delete the secret once it is.
# (no secret, no expiry); npm then generates provenance automatically.
# NPM_TOKEN is only a fallback while the trusted publisher is not
# configured yet; delete the secret once it is.
- name: Publish to npm
working-directory: ts
run: npm publish --tag ${{ steps.npm-tag.outputs.tag }} --access public --provenance
run: npm publish --tag ${{ steps.npm-tag.outputs.tag }} --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading