diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5842dfe25c..8efeabf2b0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 63bba22e81..46577b95f1 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "babel-plugin-macros": "^3.0.1", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "bundlewatch": "^0.4.0", - "canvas": "^2.11.0", + "canvas": "github:Automattic/node-canvas#a2e10e6", "chalk": "^4.1.0", "core-js": "^3.21.1", "eslint": "^8.11.0",