Skip to content

Commit 13e16ae

Browse files
authored
chore: publish via trusted publisher (#4)
1 parent 61a6df4 commit 13e16ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.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,5 +29,4 @@ jobs:
2829
- run: npx semantic-release
2930
env:
3031
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3232
name: Release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"conventional-changelog-conventionalcommits": "^9.0.0",
7171
"mocha": "^11.0.1",
7272
"prettier": "^3.0.0",
73-
"semantic-release": "^25.0.0",
73+
"semantic-release": "^25.0.2",
7474
"ts-node": "^10.9.1",
7575
"typescript": "^5.4.3"
7676
}

0 commit comments

Comments
 (0)