diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..fd7a079 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,25 @@ +name: Testing + +on: + push: + branches: '**' + pull_request: + branches: '**' + +jobs: + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [6.x, 8.x, 10.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci | npm install + - run: npm test