Skip to content

Commit b6b2dc7

Browse files
committed
modernize node version matrix
These are the currently supported versions. Luckily the Windows file path issue was backported to node 20.
1 parent d027883 commit b6b2dc7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node: [18.12.0, 20.9.0]
16+
node: [18.20.5, 20.18.1, 22.12.0, 23.3.0]
1717
steps:
1818
- uses: actions/setup-node@v4
1919
with:
@@ -33,11 +33,7 @@ jobs:
3333
runs-on: windows-2019
3434
strategy:
3535
matrix:
36-
# FIXME: Node.js 20.9.0 is currently broken on Windows, in the `registerFont` test:
37-
# ENOENT: no such file or directory, lstat 'D:\a\node-canvas\node-canvas\examples\pfennigFont\pfennigMultiByte🚀.ttf'
38-
# ref: https://github.com/nodejs/node/issues/48673
39-
# ref: https://github.com/nodejs/node/pull/50650
40-
node: [18.12.0]
36+
node: [18.20.5, 20.18.1, 22.12.0, 23.3.0]
4137
steps:
4238
- uses: actions/setup-node@v4
4339
with:
@@ -61,7 +57,7 @@ jobs:
6157
runs-on: macos-15
6258
strategy:
6359
matrix:
64-
node: [18.12.0, 20.9.0]
60+
node: [18.20.5, 20.18.1, 22.12.0, 23.3.0]
6561
steps:
6662
- uses: actions/setup-node@v4
6763
with:

0 commit comments

Comments
 (0)