From b75aef6e806ac8bd93f4cd09219d17806fe24a48 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 6 Oct 2021 09:55:00 -0400 Subject: [PATCH] run tests on Windows and macOS --- .github/workflows/ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1a7450..d924862 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,26 @@ on: jobs: test: - runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + node: + - 16 + - 14 + - 12 + fail-fast: false + runs-on: ${{ matrix.os }} + name: Node ${{ matrix.node }} on ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '14.x' + node-version: ${{ matrix.node }} - run: yarn install --frozen-lockfile + - run: yarn audit - run: yarn lint - run: yarn test