From e561a4af3c0d73a3c7e2a1751032e1216950095a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Fri, 26 Apr 2024 19:23:12 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d0676fa0547d..5c9e46938312f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18, lts/*, latest] + node-version: [18, lts/*, 21] steps: - name: Checkout repository