Pin GitHub actions to Node.js 21

Node.js 22 was just released, and it seems like it's not compatible
with the `canvas` package. This commit pins the version on GitHub
actions to Node.js 21 as a temporary workaround.

This commit should be reverted once
https://github.com/Automattic/node-canvas/issues/2377
is fixed.
This commit is contained in:
Nicolò Ribaudo 2024-04-26 19:23:12 +02:00
parent 7290faf840
commit e561a4af3c
No known key found for this signature in database
GPG Key ID: AAFDA9101C58F338

View File

@ -11,7 +11,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: [18, lts/*, latest] node-version: [18, lts/*, 21]
steps: steps:
- name: Checkout repository - name: Checkout repository