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
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build and publish to npm
runs-on: ubuntu-latest
permissions:
contents: read
contents: write # required to create the GitHub release
id-token: write # required for npm Trusted Publishing (OIDC) + provenance
steps:
- name: Checkout
Expand All @@ -36,3 +36,12 @@ jobs:
# Publishes via npm Trusted Publishing (OIDC) using the id-token permission
# above — no NPM_TOKEN secret required. Build provenance is emitted too.
run: npm publish --provenance --access public

# Without this the tag ships to npm but never appears on the repo's
# Releases page. Notes are auto-generated from merged PRs and can be
# edited afterwards.
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
name: CapSkip Node.js SDK ${{ github.ref_name }}
generate_release_notes: true
Loading