Skip to content

Commit 6321379

Browse files
authored
chore: publish via trusted publisher (#1068)
1 parent 40a93f0 commit 6321379

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
@@ -12,6 +12,7 @@ permissions:
1212
contents: write
1313
pull-requests: write
1414
issues: write
15+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
1516

1617
jobs:
1718
build:
@@ -97,6 +98,5 @@ jobs:
9798
- run: npx semantic-release
9899
env:
99100
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
101101
name: Release
102102

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"node-simctl": "^8.0.0",
6666
"mocha": "^11.0.1",
6767
"prettier": "^3.0.0",
68-
"semantic-release": "^25.0.0",
68+
"semantic-release": "^25.0.2",
6969
"semver": "^7.3.7",
7070
"sinon": "^21.0.0",
7171
"ts-node": "^10.9.1",

0 commit comments

Comments
 (0)