Skip to content

Commit 0d66f46

Browse files
committed
with provenance.
1 parent a7b29de commit 0d66f46

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ jobs:
3939
4040
- name: Publish to npm
4141
run: npm publish
42+
env:
43+
NPM_CONFIG_PROVENANCE: true

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
"default": "./dist/cjs/index.cjs"
3636
}
3737
},
38+
"publishConfig": {
39+
"access": "public",
40+
"provenance": true
41+
},
3842
"scripts": {
3943
"build": "rollup --config",
4044
"test": "npm run test:js && npm run test:ts",

0 commit comments

Comments
 (0)