Use proper ndoe version in release-pr workflow (#492)

This commit is contained in:
Mateusz Burzyński
2025-05-15 10:22:33 +02:00
committed by GitHub
parent f6369c112a
commit 10ea96defe
+4 -3
View File
@@ -54,10 +54,10 @@ jobs:
if: steps.check_version_packages.outputs.version_packages == 'true' if: steps.check_version_packages.outputs.version_packages == 'true'
run: git reset --hard HEAD~1 run: git reset --hard HEAD~1
- uses: actions/setup-node@v4 - name: Use Node.js 20
uses: actions/setup-node@v4
with: with:
node-version: "18" node-version: 20.x
cache: "yarn"
- name: Install Dependencies - name: Install Dependencies
run: yarn --frozen-lockfile run: yarn --frozen-lockfile
@@ -101,3 +101,4 @@ jobs:
- 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 }})." - 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 }})."
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}