From 2548872359ee5e9177506bfced809f313bf0263c Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Sun, 21 Nov 2021 21:14:44 -0500 Subject: [PATCH] Run unit tests on more node versions, mac, and windows --- .github/workflows/tests-unit.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml index 43ea60fc73dd..03fa946109a1 100644 --- a/.github/workflows/tests-unit.yml +++ b/.github/workflows/tests-unit.yml @@ -4,13 +4,24 @@ on: [push] jobs: build: - name: Core Unit Tests - runs-on: ubuntu-latest + name: Core Unit Tests node-${{ matrix.node_version }}, ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + node_version: [12, 14, 16, 17] + include: + - os: macos-latest + node_version: 16 + - os: windows-latest + node_version: 16 + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - name: Set node version to ${{ matrix.node_version }} + uses: actions/setup-node@v2 with: - node-version: "12.x" + node-version: ${{ matrix.node_version }} cache: yarn - name: install, bootstrap run: |