Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2db0f18

Browse files
authored
Update nodejs.yml
1 parent 855c3c1 commit 2db0f18

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/nodejs.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
- { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }
1818

1919
runs-on: ${{ matrix.platform.os }}
20-
20+
env:
21+
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}
22+
CC: ${{ matrix.platform.c-compiler }}
23+
CXX: ${{ matrix.platform.cpp-compiler }}
24+
2125
steps:
2226
- uses: actions/checkout@v1
2327
- name: Use Node.js ${{ matrix.node-version }}
@@ -28,10 +32,6 @@ jobs:
2832
run: |
2933
npm install
3034
npm test
31-
env:
32-
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}
33-
CC: ${{ matrix.platform.c-compiler }}
34-
CXX: ${{ matrix.platform.cpp-compiler }}
3535
3636
build-gyp:
3737
strategy:
@@ -46,7 +46,10 @@ jobs:
4646
- { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }
4747

4848
runs-on: ${{ matrix.platform.os }}
49-
49+
env:
50+
CC: ${{ matrix.platform.c-compiler }}
51+
CXX: ${{ matrix.platform.cpp-compiler }}
52+
5053
steps:
5154
- uses: actions/checkout@v1
5255
- name: Use Node.js ${{ matrix.node-version }}
@@ -64,6 +67,3 @@ jobs:
6467
run: |
6568
node-gyp configure
6669
node-gyp build
67-
env:
68-
CC: ${{ matrix.platform.c-compiler }}
69-
CXX: ${{ matrix.platform.cpp-compiler }}

0 commit comments

Comments
 (0)