Skip to content

Commit 08d14be

Browse files
committed
fix: trusted publishing
1 parent bb83aa5 commit 08d14be

File tree

4 files changed

+435
-96
lines changed

4 files changed

+435
-96
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v6
2121
with:
22-
token: ${{ secrets.GH_TOKEN }}
2322
fetch-depth: 0
2423
- name: Use Node.js
2524
uses: actions/setup-node@v6
@@ -34,11 +33,7 @@ jobs:
3433
npx commitlint --from=HEAD~1
3534
npm test
3635
- name: Semantic Release
37-
uses: cycjimmy/semantic-release-action@v6
36+
run: npx semantic-release
3837
env:
39-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
40-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41-
with:
42-
branches: |
43-
['main']
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4439

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/hydrogen
1+
lts/jod

.releaserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
branches: main

0 commit comments

Comments
 (0)