diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1dda40fc..26ad1aec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,13 +5,14 @@ env: jobs: run: - name: Node ${{ matrix.node }} - runs-on: ubuntu-latest + name: Node ${{ matrix.node }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: node: [6, 8, 10, 12] + os: [ubuntu-latest, windows-latest] steps: - name: Clone repository @@ -28,6 +29,9 @@ jobs: - name: Install npm dependencies run: npm install # switch to `npm ci` when Node.js 6 support is dropped + - name: Run lint + run: npm run lint + - name: Run tests run: npm run test-cov