Skip to content

Commit 0c70bcf

Browse files
committed
build: fix provenance config
1 parent f7ca815 commit 0c70bcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838
- name: Authenticate in npm
3939
run: |
4040
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
41-
echo "workspaces-update = false" >> .npmrc
42-
echo "provenance = true" >> .npmrc
41+
echo "workspaces-update=false" >> .npmrc
42+
echo "provenance=true" >> .npmrc
4343
env:
4444
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4545

4646
- name: Publish
4747
run: yarn multi-semantic-release --deps.bump=override --deps.release=patch --sequential-init
4848
env:
49+
NPM_CONFIG_PROVENANCE: true
4950
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5051
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)