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 855c3c1 commit 2db0f18
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
- { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }

runs-on: ${{ matrix.platform.os }}

env:
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}
CC: ${{ matrix.platform.c-compiler }}
CXX: ${{ matrix.platform.cpp-compiler }}

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -28,10 +32,6 @@ jobs:
run: |
npm install
npm test
env:
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}
CC: ${{ matrix.platform.c-compiler }}
CXX: ${{ matrix.platform.cpp-compiler }}
build-gyp:
strategy:
Expand All @@ -46,7 +46,10 @@ jobs:
- { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }

runs-on: ${{ matrix.platform.os }}

env:
CC: ${{ matrix.platform.c-compiler }}
CXX: ${{ matrix.platform.cpp-compiler }}

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -64,6 +67,3 @@ jobs:
run: |
node-gyp configure
node-gyp build
env:
CC: ${{ matrix.platform.c-compiler }}
CXX: ${{ matrix.platform.cpp-compiler }}

0 comments on commit 2db0f18

Please sign in to comment.