From c92314185fedbe96952bf1cb7b46628f4bc3b808 Mon Sep 17 00:00:00 2001 From: chaxus Date: Sat, 10 Dec 2022 22:24:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f8adcb56..3b71b1506 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,25 @@ -name: pages-build-site +name: CI on: pull_request: branches: main jobs: lint: if: github.repository == 'chaxus/ran' - timeout-minutes: 10 - runs-on: ubuntu-latest - name: "Lint: node-16, ubuntu-latest" + timeout-minutes: 20 + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + node_version: [14, 16, 18] + include: + # Active LTS + other OS + - os: macos-latest + node_version: 18 + - os: windows-latest + node_version: 18 + fail-fast: false + name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}" steps: - uses: actions/checkout@v3 with: