Skip to content

Commit

Permalink
CI: Add Windows testing and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and nickmerwin committed Nov 25, 2019
1 parent c202346 commit ef51945
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit ef51945

Please sign in to comment.