aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-11-21 08:35:29 +0200
committerNick Merwin <[email protected]>2019-11-25 13:20:10 -0800
commitef51945c8a378c263f263041ab59fdf47053297b (patch)
tree441c1b479136f9782ce938fd22eb284e153fffc0 /.github/workflows
parentc202346ff899b5025fc31a0756fbae15fcf473f3 (diff)
downloadnode-coveralls-ef51945c8a378c263f263041ab59fdf47053297b.tar.xz
node-coveralls-ef51945c8a378c263f263041ab59fdf47053297b.zip
CI: Add Windows testing and lint
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1dda40f..26ad1ae 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