From 914a02e182300227e68110c6c170e1cf153a1d0f Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Fri, 21 Jul 2023 17:08:45 +0200 Subject: [PATCH] ci: generate provenance statements when release (#18) --- .github/workflows/release-please.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e966d7b..0d33b70 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,6 +9,7 @@ jobs: permissions: contents: write pull-requests: write + id-token: write steps: - uses: google-github-actions/release-please-action@v3 id: release @@ -35,7 +36,7 @@ jobs: node-version: lts/* registry-url: https://registry.npmjs.org if: ${{ steps.release.outputs.release_created }} - - run: npm publish + - run: npm publish --provenance env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.release_created }}