We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83184d commit 855976dCopy full SHA for 855976d
.github/workflows/make-release.yml
@@ -8,6 +8,10 @@ jobs:
8
uses: ./.github/workflows/reusable-run-linting-check-and-unit-tests.yml
9
publish-npm:
10
needs: run-unit-tests
11
+ # Needed as recommended by npm docs on publishing with provenance https://docs.npmjs.com/generating-provenance-statements
12
+ permissions:
13
+ id-token: write
14
+ contents: write
15
runs-on: ubuntu-latest
16
outputs:
17
RELEASE_VERSION: ${{ steps.set-release-version.outputs.RELEASE_VERSION }}
@@ -37,7 +41,7 @@ jobs:
37
41
npx lerna version --conventional-commits --force-publish --no-commit-hooks --yes
38
42
- name: Publish to npm
39
43
run: |
40
- npx lerna publish from-git --yes
44
+ NPM_CONFIG_PROVENANCE=true npx lerna publish from-git --yes
45
- name: Set release version
46
id: set-release-version
47
0 commit comments