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 }}