Skip to content

Commit 203217c

Browse files
authored
chore: publish via trusted publisher (#834)
1 parent 9ddc163 commit 203217c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616
contents: write
1717
pull-requests: write
1818
issues: write
19+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
1920

2021
jobs:
2122
build:
@@ -56,7 +57,5 @@ jobs:
5657
- run: npx semantic-release --branches main
5758
env:
5859
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
# to make the push failure
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6160
name: Release
6261
working-directory: driver

driver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@semantic-release/changelog": "^6.0.3",
6969
"@semantic-release/git": "^10.0.1",
7070
"eslint": "^9.17.0",
71-
"semantic-release": "^24.2.8",
71+
"semantic-release": "^25.0.2",
7272
"ts-node": "^10.9.1",
7373
"typescript": "~5.9"
7474
},

0 commit comments

Comments
 (0)