Skip to content

Commit

Permalink
feat: generating provenance statements (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Oct 1, 2024
1 parent e125299 commit a6fa2c7
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-core-"$VALID_SEMVER_VERSION".tgz
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
npm publish --tag "$TAG" db-ui-core-"$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 a6fa2c7

Please sign in to comment.