Skip to content

Commit 0b477c0

Browse files
sagilioTaoyuesong
andauthored
chore: add setup Node.js to CI jobs (#370)
Co-authored-by: Taoyuesong <634774653@qq.com>
1 parent a634b01 commit 0b477c0

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ jobs:
8484
- name: Checkout
8585
uses: actions/checkout@v4
8686

87+
- name: Setup Node.js
88+
uses: actions/setup-node@v4
89+
with:
90+
node-version: 20
91+
8792
- name: Dry run semantic-release
8893
run: |
8994
export PATH=$PATH:$(yarn global bin)

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
- name: Checkout
9090
uses: actions/checkout@v4
9191

92+
- name: Setup Node.js
93+
uses: actions/setup-node@v4
94+
with:
95+
node-version: 20
96+
9297
- name: Run semantic-release
9398
run: |
9499
export PATH=$PATH:$(yarn global bin)

0 commit comments

Comments
 (0)