diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..36e56a45 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,16 @@ +name: Run tests +on: pull_request +jobs: + test: + name: Run tests + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12, 11, 10] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run test:verbose