Skip to content

Commit d260344

Browse files
Copilotkentcdodds
andauthored
chore: Update GitHub Actions workflows for npm trusted publishers (#16)
* Initial plan * Update GitHub Actions workflows for npm trusted publishers Co-authored-by: kentcdodds <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: kentcdodds <[email protected]>
1 parent 609aa02 commit d260344

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: ⬇️ Checkout repo
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121

2222
- name: ⎔ Setup node
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
25-
node-version: 20
25+
node-version: lts/*
2626

2727
- name: 📥 Download deps
2828
uses: bahmutov/npm-install@v1
@@ -42,12 +42,12 @@ jobs:
4242
github.ref) && github.event_name == 'push' }}
4343
steps:
4444
- name: ⬇️ Checkout repo
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4646

4747
- name: ⎔ Setup node
48-
uses: actions/setup-node@v4
48+
uses: actions/setup-node@v6
4949
with:
50-
node-version: 20
50+
node-version: lts/*
5151

5252
- name: 📥 Download deps
5353
uses: bahmutov/npm-install@v1
@@ -58,9 +58,9 @@ jobs:
5858
run: npm run build
5959

6060
- name: 🚀 Release
61-
uses: cycjimmy/semantic-release-action@v4
61+
uses: cycjimmy/semantic-release-action@v5.0.2
6262
with:
63-
semantic_version: 17
63+
semantic_version: 25
6464
branches: |
6565
[
6666
'+([0-9])?(.{+([0-9]),x}).x',
@@ -73,4 +73,3 @@ jobs:
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7575
NPM_CONFIG_PROVENANCE: true
76-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)