Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- run: pnpm run build
- run: pnpm test

- name: Generate SBOM
run: pnpm sbom --sbom-format cyclonedx --prod > sbom.cdx.json

- name: Generate changelog
id: changelog
run: |
Expand All @@ -42,7 +45,7 @@ jobs:
- name: Create GitHub release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "${{ github.ref_name }}" --notes "${{ steps.changelog.outputs.notes }}"
run: gh release create "${{ github.ref_name }}" --notes "${{ steps.changelog.outputs.notes }}" sbom.cdx.json

- name: Publish to npm
run: pnpm publish --no-git-checks --provenance --access public
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ node_modules/
dist/
*.tsbuildinfo
.DS_Store

# SBOM generated during release
sbom.cdx.json