Skip to content

Commit a50b429

Browse files
committed
fucking npm annoying bullshit
1 parent e2a1281 commit a50b429

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ jobs:
2626

2727
- name: test3
2828
working-directory: bindings/javascript
29-
run: npm publish --access public
29+
run: npm publish --access public --provenance
30+
env:
31+
NPM_CONFIG_PROVENANCE: true
32+
3033

bindings/javascript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"ref-napi": "^3.0.3"
2828
},
2929
"publishConfig": {
30-
"access": "public"
30+
"access": "public",
31+
"provenance": true
3132
},
3233
"files": [
3334
"README.md",

0 commit comments

Comments
 (0)