From 4c3cfedc9cb5dc50dc0e512475a6f428eef11e3c Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 18 Jul 2021 17:28:14 +0530 Subject: [PATCH] [tests] Run tests on all supported node versions --- .github/workflows/action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 8779e4d..0a3c917 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,13 +1,16 @@ on: push name: Main Workflow jobs: - runNpmStuff: + tests: + strategy: + matrix: + node: ['16', '14', '12'] name: Run NPM Stuff runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: ${{matrix.node}} - run: npm install - run: npm test