1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

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:
fail-fast: false
matrix:
node-version: [18, lts/*, latest]
node-version: [18, lts/*, 21]
steps:
- name: Checkout repository