Skip to content

Commit 47c5fe8

Browse files
committed
setup tokenless publishing
1 parent 5269397 commit 47c5fe8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
permissions:
1616
contents: write
1717
pull-requests: write
18+
id-token: write
1819

1920
steps:
2021
- name: Checkout Repo
@@ -38,4 +39,3 @@ jobs:
3839
autoPublish: true
3940
env:
4041
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"./intl-polyfill.cjs"
4646
],
4747
"publishConfig": {
48+
"access": "public",
49+
"provenance": true,
4850
"main": "./index.js",
4951
"types": "./index.d.ts",
5052
"exports": {

0 commit comments

Comments
 (0)