Skip to content

Commit

Permalink
Add --provenance to npm publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Oct 6, 2024
1 parent 256e9c0 commit eeddf36
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/common
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -68,7 +68,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/core
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -94,7 +94,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/chacha20poly1305
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -120,7 +120,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/dhkem-x25519
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -146,7 +146,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/dhkem-x448
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -172,7 +172,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/hybridkem-x25519-kyber768
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -198,7 +198,7 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/dhkem-secp256k1
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -224,6 +224,6 @@ jobs:
deno task dnt
- name: Publish to npm
working-directory: ./npm/packages/hpke-js
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit eeddf36

Please sign in to comment.