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