From 933491207f89e785420fefe72a41eaa39c06f97f Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:37:08 +0800 Subject: [PATCH] bump nodejs testing version 12.x is dead --- .github/workflows/CI.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 420cb221..2b19d224 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,19 +13,18 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 15.x, 16.x] + node-version: [14.x, 16.x, 20.x] steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v3 - name: Restore Yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .yarn/cache key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -44,19 +43,18 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 15.x, 16.x] + node-version: [14.x, 16.x, 20.x] steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v3 - name: Restore Yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .yarn/cache key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }}