From 16657772886f047d0f967f1a4b0648da636b521a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Mon, 21 Nov 2022 17:40:48 +0800 Subject: [PATCH] build: add node v19(ubuntu) (#68) it also changes the default node to v18(active lts), and upgrade github actions to v3. --- .github/workflows/CI.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2f95d0a7..5f49e5bd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node: 16.x - name: Install Packages @@ -32,7 +32,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] eslint: [8.x, 7.x] - node: [16.x] + node: [18.x] include: # run on node lts(ubuntu-latest) - os: ubuntu-latest @@ -41,20 +41,23 @@ jobs: - os: ubuntu-latest node: "14.x" eslint: "8.x" + - os: ubuntu-latest + node: "16.x" + eslint: "8.x" - os: ubuntu-latest node: "17.x" eslint: "8.x" - os: ubuntu-latest - node: "18.x" + node: "19.x" eslint: "8.x" runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 1 - name: Install Node.js ${{ matrix.node }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - name: Install Packages