Родитель
07180d3267
Коммит
2901d97846
|
@ -10,15 +10,8 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
- run: |
|
||||
# update node-gyp to latest for support in detecting VS 2022 toolchain
|
||||
npm install -g node-gyp@latest
|
||||
# Resolve to node-gyp.js
|
||||
# Remove this once node-version >= 16.x,
|
||||
# which ships with npm > 8.4.0 that has support for VS 2022 toolchain.
|
||||
$env:npm_config_node_gyp=$(Join-Path $(Get-Command node-gyp.cmd).Path "..\node_modules\node-gyp\bin\node-gyp.js" -Resolve)
|
||||
npm ci
|
||||
node-version: 16
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
|
||||
linux:
|
||||
|
@ -28,7 +21,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
|
||||
|
@ -39,6 +32,8 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
# https://github.com/nodejs/node-gyp/issues/2869
|
||||
- run: python3 -m pip install setuptools
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
|
|
Загрузка…
Ссылка в новой задаче