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: