Skip to content

Commit 3965e38

Browse files
committed
fix: add public access flag to npm publish
- Required for provenance with new packages - Fixes npm publish error in release workflow Authored by: Aaron Lippold<lippold@gmail.com>
1 parent 8acf3ab commit 3965e38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
- name: Publish to npm
3737
run: |
3838
if [[ "${{ github.ref }}" == *"-beta"* ]]; then
39-
npm publish --provenance --tag beta
39+
npm publish --provenance --access public --tag beta
4040
elif [[ "${{ github.ref }}" == *"-alpha"* ]]; then
41-
npm publish --provenance --tag alpha
41+
npm publish --provenance --access public --tag alpha
4242
elif [[ "${{ github.ref }}" == *"-rc"* ]]; then
43-
npm publish --provenance --tag rc
43+
npm publish --provenance --access public --tag rc
4444
else
45-
npm publish --provenance
45+
npm publish --provenance --access public
4646
fi
4747
env:
4848
NODE_AUTH_TOKEN: ${{ secrets.SAF_NPM_TOKEN }}

0 commit comments

Comments
 (0)