Skip to content

Commit a7aa6ee

Browse files
authored
ci: Fix auto-release (#2750)
1 parent 0097398 commit a7aa6ee

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/release-automated.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ jobs:
1212
- name: Determine trigger branch name
1313
id: branch
1414
run: echo "::set-output name=trigger_branch::${GITHUB_REF#refs/*/}"
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
persist-credentials: false
18-
- uses: actions/setup-node@v2
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
21-
registry-url: https://registry.npmjs.org/
20+
node-version: latest
2221
cache: npm
2322
- run: npm ci
2423
- run: npx semantic-release
@@ -36,13 +35,13 @@ jobs:
3635
runs-on: ubuntu-latest
3736
timeout-minutes: 15
3837
steps:
39-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
4039
with:
4140
ref: ${{ github.ref }}
4241
- name: Use Node.js
43-
uses: actions/setup-node@v1
42+
uses: actions/setup-node@v4
4443
with:
45-
node-version: 18
44+
node-version: latest
4645
cache: npm
4746
- name: Generate Docs
4847
run: |

.github/workflows/release-manual-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
ref: ${{ github.event.inputs.tag }}
1717
- name: Use Node.js
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version: latest
2121
cache: npm
2222
- name: Generate Docs
2323
run: |

0 commit comments

Comments
 (0)