Skip to content

Commit 467bb65

Browse files
committed
#21: Fix npm publish: add --access public flag
- Scoped packages require --access public to be published as free packages - Added --provenance for supply chain security attestation
1 parent 182ae96 commit 467bb65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
run: mkdir -p backups
3232

3333
- name: Publish to npm
34-
run: npm publish
34+
run: npm publish --provenance --access public
3535
env:
3636
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3737
# prepublishOnly hook runs build, lint, and test:unit automatically
38-
# Provenance is signed automatically via id-token: write
38+
# Provenance provides supply chain security attestation

0 commit comments

Comments
 (0)