From 1a488befe0aeca237246ecb641d1a6ccfb389fc8 Mon Sep 17 00:00:00 2001 From: drl990114 Date: Tue, 5 Nov 2024 21:52:27 +0800 Subject: [PATCH] ci: node version --- .github/workflows/gh-pages.yml | 5 +++++ .github/workflows/test-ci.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 96dc125..f6e33b5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -9,6 +9,11 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: '20' + - uses: actions/checkout@v2 - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index abba6a5..54abd41 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -10,6 +10,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Checkout repository uses: actions/checkout@v3 # v3