Skip to content

Commit 0943910

Browse files
authored
chore: publish via trusted publisher (#276)
1 parent 5ae8ca8 commit 0943910

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ permissions:
99
contents: write
1010
pull-requests: write
1111
issues: write
12+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
1213

1314
jobs:
1415
build:
@@ -28,6 +29,5 @@ jobs:
2829
- run: npx semantic-release
2930
env:
3031
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3232
name: Release
3333

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"mocha": "^11.0.1",
7979
"prettier": "^3.0.0",
8080
"proxyquire": "^2.1.3",
81-
"semantic-release": "^25.0.0",
81+
"semantic-release": "^25.0.2",
8282
"sinon": "^21.0.0",
8383
"ts-node": "^10.9.1",
8484
"typescript": "^5.4.3"

0 commit comments

Comments
 (0)