Skip to content

Commit

Permalink
ci: generate npm provenance statements when publishing (#2308)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
  • Loading branch information
martinkuba and pichlermarc committed Jul 1, 2024
1 parent 85ca5f1 commit 7efeb2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ name: Run Release Please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
# The logic below handles the npm publication:
- name: Checkout Repository
Expand Down Expand Up @@ -75,4 +77,5 @@ jobs:
if: ${{ steps.release.outputs.releases_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes

0 comments on commit 7efeb2a

Please sign in to comment.