Skip to content

Commit 8337acb

Browse files
use local node-gyp during install
1 parent 7c3e28a commit 8337acb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
${{ runner.os }}-yarn-
3939
- name: Install
4040
run: yarn install
41+
env:
42+
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
4143
- name: Lint and Run Unit Tests
4244
run: yarn run test
4345
- name: Getting Build Icon

0 commit comments

Comments
 (0)