Skip to content

Commit 89bfe66

Browse files
committed
deps: update node-canvas, Node, actions, + npm audit fix (#115)
deps: update `node-canvas`, Node, + `npm audit fix` - update `node-canvas` to latest v3 to work with newer, non-EoL Node versions - also less deps like `node-pre-gyp` etc - update CI matrix to use LTS Node 18+ - update `actions/checkout` and `actions/setup-node` to use non-EoL Node runtimes as well - the primary breaking change in updating [both to their](https://github.com/actions/checkout/releases/tag/v4.0.0) [respective v4 releases](https://github.com/actions/setup-node/releases/tag/v4.0.0) is the Node runtime update - run `npm audit fix` after (cherry picked from commit cf5b7c8) - fixed merge conflicts with other surrounding deps - basically only `node-canvas` updated and nothing else
1 parent fbd2592 commit 89bfe66

File tree

3 files changed

+1023
-223
lines changed

3 files changed

+1023
-223
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
# TODO: add back Node 18 once node-canvas is properly supported: https://github.com/Automattic/node-canvas/issues/2025
11-
node-version: [16.x] # LTS Node: https://nodejs.org/en/about/releases/
10+
node-version: [18.x, 20.x, 22.x] # LTS Node: https://nodejs.org/en/about/releases/
1211
os: [ubuntu-latest]
1312

1413
steps:
1514
- name: Checkout repo
16-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1716
- name: Setup Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@v4
1918
with:
2019
node-version: ${{ matrix.node-version }}
2120
cache: 'npm'

0 commit comments

Comments
 (0)