From 5867bd0907ac3f6d88653fb4f52683bad682b88f Mon Sep 17 00:00:00 2001 From: Taoyuesong <634774653@qq.com> Date: Sun, 15 Sep 2024 18:24:54 +0800 Subject: [PATCH] chore: add setup Node.js to CI jobs --- .github/workflows/build.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 517e8c0..f705d0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Dry run semantic-release run: | export PATH=$PATH:$(yarn global bin) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40a3dec..8bc737b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,6 +89,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Run semantic-release run: | export PATH=$PATH:$(yarn global bin)