We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e125299 commit a6fa2c7Copy full SHA for a6fa2c7
.github/scripts/publish-npm.sh
@@ -41,5 +41,6 @@ do
41
echo "Could not authenticate with $REGISTRY"
42
exit 1
43
fi
44
- npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz
+ # https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
45
+ npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz --provenance
46
done
.github/workflows/03-publish-packages.yml
@@ -20,6 +20,8 @@ jobs:
20
publish:
21
name: Publish latest package versions to GitHub Packages
22
runs-on: ubuntu-latest
23
+ permissions:
24
+ id-token: write
25
steps:
26
- name: ⬇ Checkout repo
27
uses: actions/checkout@v4
0 commit comments