From f6720eace4df0319148611f6ad6ac460ffcad3fb Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 17:50:59 -0700 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 076bb27..d074e27 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,11 +5,16 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - strategy: + fail-fast: false matrix: node-version: [8.x, 10.x, 12.x] + platform: + - { os: windows-latest, hunspell: true } + - { os: windows-latest } + - { os: ubuntu-latest } + + runs-on: ${{ matrix.platform.os }} steps: - uses: actions/checkout@v1 @@ -19,6 +24,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: npm install, build, and test run: | + npm install npm test env: - CI: true + SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}