Skip to content

Commit 10ea96d

Browse files
authored
Use proper ndoe version in release-pr workflow (#492)
1 parent f6369c1 commit 10ea96d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release-pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
if: steps.check_version_packages.outputs.version_packages == 'true'
5555
run: git reset --hard HEAD~1
5656

57-
- uses: actions/setup-node@v4
57+
- name: Use Node.js 20
58+
uses: actions/setup-node@v4
5859
with:
59-
node-version: "18"
60-
cache: "yarn"
60+
node-version: 20.x
6161

6262
- name: Install Dependencies
6363
run: yarn --frozen-lockfile
@@ -101,3 +101,4 @@ jobs:
101101
- run: gh pr comment ${{ github.event.issue.number }} --body "The release triggered by [this comment](${{ github.event.comment.url }}) has [failed](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})."
102102
env:
103103
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104+
GH_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)