Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
goddessfreya authored Dec 20, 2019
1 parent fef5593 commit 0e6f86f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Node CI

on: [push]
on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [8.x, 10.x, 12.x]
python-version: [2.7, 3.6, 3.7, 3.8] # 3.5,
platform:
- { os: windows-latest, hunspell: true }
- { os: windows-latest }
Expand All @@ -23,9 +24,20 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: npm install, build, and test
run: |
npm install
npm test
- name: node-gyp install
run: |
npm install -g node-gyp
- name: node-gyp configure
run: |
node-gyp configure
node-gyp build
env:
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}

0 comments on commit 0e6f86f

Please sign in to comment.