Skip to content

Commit a96c383

Browse files
authored
fix(ci): temporarily pin matrix to Node 16 on Ubuntu (#113)
* update to use LTS Node 18 - Node 14 [fails to install](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139557?pr=112) - ```txt Run actions/setup-node@v3 Attempting to download 14.x... Not found in manifest. Falling back to download directly from Node Error: Unable to find Node version '14.x' for platform darwin and architecture arm64. ``` - keep Node 16 for now, although it is out-of-support - ensure continuous range testing; should bump that later too * try 16.x on Ubuntu only for now - that one [passed](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139677) - 18.x and other 16.x versions failed to install `node-canvas`, c.f. PR comment
1 parent cb09cf7 commit a96c383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
strategy:
99
matrix:
1010
# TODO: add back Node 18 once node-canvas is properly supported: https://github.com/Automattic/node-canvas/issues/2025
11-
node-version: [14.x, 16.x] # LTS Node: https://nodejs.org/en/about/releases/
12-
os: [ubuntu-latest, windows-latest, macOS-latest]
11+
node-version: [16.x] # LTS Node: https://nodejs.org/en/about/releases/
12+
os: [ubuntu-latest]
1313

1414
steps:
1515
- name: Checkout repo

0 commit comments

Comments
 (0)