Skip to content

Commit

Permalink
feat: generating provenance statements (#575)
Browse files Browse the repository at this point in the history
* feat: generating provenance statements

* Update publish-npm.sh
  • Loading branch information
mfranzke authored Oct 1, 2024
1 parent 52af481 commit 2482432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ do
echo "Could not authenticate with $REGISTRY"
exit 1
fi
npm publish --tag "$TAG" db-ui-base-"$VALID_SEMVER_VERSION".tgz
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
npm publish --tag "$TAG" db-ui-base-"$VALID_SEMVER_VERSION".tgz --provenance
done
2 changes: 2 additions & 0 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
publish:
name: Publish latest package versions to GitHub Packages
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: ⬇ Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 2482432

Please sign in to comment.