Skip to content

Commit b112d53

Browse files
committed
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
1 parent bb54bfc commit b112d53

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: CI
2-
on:
3-
- push
4-
- pull_request
2+
on: [push, pull_request]
53

64
jobs:
75
ci:
@@ -10,8 +8,7 @@ jobs:
108
runs-on: ${{ matrix.os }}
119
strategy:
1210
matrix:
13-
# TODO: add back Node 18 once node-canvas is properly supported: https://github.com/Automattic/node-canvas/issues/2025
14-
node-version: [14.x, 16.x] # LTS Node: https://nodejs.org/en/about/releases/
11+
node-version: [16.x, 18.x] # LTS Node: https://nodejs.org/en/about/releases/
1512
os: [ubuntu-latest, windows-latest, macOS-latest]
1613

1714
steps:

0 commit comments

Comments
 (0)