diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..09a70a8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,43 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + architecture: + - x64 + node-version: + - 4.x + - 5.x + - 6.x + - 7.x + - 8.x + - 9.x + - 10.x + - 11.x + - 12.x + - 13.x + - 14.x + - 15.x + - 16.x + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + architecture: ${{ matrix.architecture }} + - name: Run tests + run: npm run test