mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Use proper ndoe version in release-pr workflow (#492)
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user