Skip to content

Commit 31279b3

Browse files
committed
node 8/9. update readme
1 parent 5b332c3 commit 31279b3

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/prebuild.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ on: workflow_dispatch
3939
# release tag as the canvas version being built.
4040
# env:
4141
# UPLOAD_TO: "v0.0.1"
42-
43-
# If/when node-canvas moves to Node.js 10+, the latest node-gyp can be used.
44-
# Node 19 requires a recent node-gyp, but Node <10 requires 6.1. Manually set
45-
# this file depending on what you're building!!
42+
#
43+
# Node 19 requires a recent node-gyp
44+
# Node 10, 11 require 8
45+
# Node 8, 9 require 6.1
46+
# Manually set this file depending on what you're building!!
4647

4748
jobs:
4849
Linux:
4950
strategy:
5051
fail-fast: false
5152
matrix:
52-
node: [8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
53+
node: [8, 9]
5354
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
5455
name: ${{ matrix.canvas_tag }}, Node.js ${{ matrix.node }}, Linux
5556
runs-on: ubuntu-latest
@@ -142,7 +143,7 @@ jobs:
142143
strategy:
143144
fail-fast: false
144145
matrix:
145-
node: [13, 14, 15, 16, 17, 18, 19]
146+
node: [8, 9]
146147
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
147148
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, macOS
148149
runs-on: macos-latest
@@ -165,7 +166,7 @@ jobs:
165166
set -Eeuxo pipefail
166167
git checkout ${{ matrix.canvas_tag }}
167168
git checkout $GITHUB_SHA -- prebuild/
168-
npm install -g node-gyp
169+
npm install -g node-gyp@6
169170
npm install --ignore-scripts
170171
. prebuild/macOS/preinstall.sh
171172
cp prebuild/macOS/binding.gyp binding.gyp
@@ -215,7 +216,7 @@ jobs:
215216
strategy:
216217
fail-fast: false
217218
matrix:
218-
node: [13, 14, 15, 16, 17, 18, 19]
219+
node: [8, 9]
219220
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
220221
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, Windows
221222
runs-on: windows-2019
@@ -247,7 +248,7 @@ jobs:
247248
run: |
248249
git checkout ${{ matrix.canvas_tag }}
249250
git checkout $env:GITHUB_SHA -- prebuild/
250-
npm install -g node-gyp@8
251+
npm install -g node-gyp@6
251252
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
252253
npm install --ignore-scripts
253254
msys2 -c ". prebuild/Windows/preinstall.sh"

0 commit comments

Comments
 (0)