5050 strategy :
5151 fail-fast : false
5252 matrix :
53- node : [8, 9 ]
53+ node : [20 ]
5454 canvas_tag : ["v2.11.2"] # e.g. "v2.6.1"
5555 name : ${{ matrix.canvas_tag }}, Node.js ${{ matrix.node }}, Linux
5656 runs-on : ubuntu-latest
8282 set -ex
8383 mkdir -p prebuild
8484 cp -rfv ./prebuild-branch/prebuild/* ./prebuild/
85- npm install -g node-gyp@6
85+ npm install -g node-gyp
8686 npm install --ignore-scripts
8787 . prebuild/Linux/preinstall.sh
8888 cp prebuild/Linux/binding.gyp binding.gyp
@@ -143,7 +143,7 @@ jobs:
143143 strategy :
144144 fail-fast : false
145145 matrix :
146- node : [8, 9 ]
146+ node : [20 ]
147147 canvas_tag : ["v2.11.2"] # e.g. "v2.6.1"
148148 name : ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, macOS
149149 runs-on : macos-latest
@@ -166,7 +166,7 @@ jobs:
166166 set -Eeuxo pipefail
167167 git checkout ${{ matrix.canvas_tag }}
168168 git checkout $GITHUB_SHA -- prebuild/
169- npm install -g node-gyp@6
169+ npm install -g node-gyp
170170 npm install --ignore-scripts
171171 . prebuild/macOS/preinstall.sh
172172 cp prebuild/macOS/binding.gyp binding.gyp
@@ -216,7 +216,7 @@ jobs:
216216 strategy :
217217 fail-fast : false
218218 matrix :
219- node : [8, 9 ]
219+ node : [20 ]
220220 canvas_tag : ["v2.11.2"] # e.g. "v2.6.1"
221221 name : ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, Windows
222222 runs-on : windows-2019
@@ -248,7 +248,7 @@ jobs:
248248 run : |
249249 git checkout ${{ matrix.canvas_tag }}
250250 git checkout $env:GITHUB_SHA -- prebuild/
251- npm install -g node-gyp@6
251+ npm install -g node-gyp
252252 npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
253253 npm install --ignore-scripts
254254 msys2 -c ". prebuild/Windows/preinstall.sh"
0 commit comments