From b083bf4013b0239e163329401bc80def08f341b6 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Jadda <17564080+pavankjadda@users.noreply.github.com> Date: Fri, 12 Nov 2021 18:04:09 -0500 Subject: [PATCH] feat(ci): updates CI to run on multiple OSes and Node versions --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dc22b0..4cecf94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,14 +8,17 @@ on: jobs: build: - runs-on: ubuntu-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'ubuntu-18.04', 'macos-11', 'macos-10.15'] + node: [ '12', '14', '16' ] steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci # - name: Lint