Skip to content

Commit 33b056a

Browse files
committed
release: restore --provenance now that npm-side is unblocked
1 parent 6246a76 commit 33b056a

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ jobs:
2525
- run: npm run typecheck
2626
- run: npm test
2727
- run: npm run build
28-
- name: Publish to npm
29-
# NOTE: --provenance is intentionally omitted for the very first
30-
# publish. Some npm flows fail with E404 on new-package PUTs when
31-
# provenance signing runs before the package exists in the
32-
# registry. Re-enable on subsequent versions once 0.1.0 is live.
33-
run: npm publish --access public
28+
- name: Publish to npm with provenance
29+
run: npm publish --provenance --access public
3430
env:
3531
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"node": ">=18.17.0"
6363
},
6464
"publishConfig": {
65-
"access": "public"
65+
"access": "public",
66+
"provenance": true
6667
}
6768
}

0 commit comments

Comments
 (0)