File tree Expand file tree Collapse file tree 3 files changed +1949
-1508
lines changed Expand file tree Collapse file tree 3 files changed +1949
-1508
lines changed Original file line number Diff line number Diff line change 8
8
uses : ./.github/workflows/reusable-run-linting-check-and-unit-tests.yml
9
9
publish-npm :
10
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
11
15
runs-on : ubuntu-latest
12
16
outputs :
13
17
RELEASE_VERSION : ${{ steps.set-release-version.outputs.RELEASE_VERSION }}
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
41
45
- name : Set release version
42
46
id : set-release-version
43
47
run : |
You can’t perform that action at this time.
0 commit comments