Adds filter option #104
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
env: | |
CI: true | |
jobs: | |
run: | |
name: Node ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# switch to `8` when https://github.com/actions/setup-node/issues/27 is fixed | |
node: [12, 14, 16] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v1 | |
- name: Set Node.js version | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: node --version | |
- run: npm --version | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test |