Skip to content

Commit 855976d

Browse files
authored
chore(ci): bump lerna & add provenance config (#1541)
1 parent f83184d commit 855976d

File tree

3 files changed

+1949
-1508
lines changed

3 files changed

+1949
-1508
lines changed

Diff for: .github/workflows/make-release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
uses: ./.github/workflows/reusable-run-linting-check-and-unit-tests.yml
99
publish-npm:
1010
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
1115
runs-on: ubuntu-latest
1216
outputs:
1317
RELEASE_VERSION: ${{ steps.set-release-version.outputs.RELEASE_VERSION }}
@@ -37,7 +41,7 @@ jobs:
3741
npx lerna version --conventional-commits --force-publish --no-commit-hooks --yes
3842
- name: Publish to npm
3943
run: |
40-
npx lerna publish from-git --yes
44+
NPM_CONFIG_PROVENANCE=true npx lerna publish from-git --yes
4145
- name: Set release version
4246
id: set-release-version
4347
run: |

0 commit comments

Comments
 (0)