Skip to content

Commit 4238d83

Browse files
Copilotkentcdodds
andauthored
chore: Update GitHub Actions workflow for npm security compliance (2025) (#15)
* Initial plan * Update GitHub Actions workflow for npm security compliance Co-authored-by: kentcdodds <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: kentcdodds <[email protected]>
1 parent 784542e commit 4238d83

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
github.ref) && github.event_name == 'push' }}
2222
steps:
2323
- name: ⬇️ Checkout repo
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: ⎔ Setup node
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: 20
29+
node-version: lts/*
3030

3131
- name: 📥 Download deps
3232
uses: bahmutov/npm-install@v1
@@ -37,9 +37,9 @@ jobs:
3737
run: npm run build
3838

3939
- name: 🚀 Release
40-
uses: cycjimmy/semantic-release-action@v4
40+
uses: cycjimmy/semantic-release-action@v5.0.2
4141
with:
42-
semantic_version: 17
42+
semantic_version: 25
4343
branches: |
4444
[
4545
'+([0-9])?(.{+([0-9]),x}).x',
@@ -52,4 +52,3 @@ jobs:
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454
NPM_CONFIG_PROVENANCE: true
55-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)