From 63d448fcbefac524d6a904d07093925fa7b71386 Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Thu, 22 Apr 2021 09:27:19 +0200 Subject: [PATCH] chore: added CI test --- .github/workflows/test-suite-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-suite-ci.yml diff --git a/.github/workflows/test-suite-ci.yml b/.github/workflows/test-suite-ci.yml new file mode 100644 index 0000000..909e003 --- /dev/null +++ b/.github/workflows/test-suite-ci.yml @@ -0,0 +1,22 @@ +name: Test Suite CI + +on: [push, pull_request] + +jobs: + test: + name: Test on NodeJS v${{ matrix.node-version }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [12.x, 14.x] + os: [ubuntu-latest, windows-latest, macOS-latest] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm i + - run: npm test