From ee88cc6bd4a5a0bf767a327d1467799d38d6b95c Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Mon, 12 Oct 2026 17:17:27 +0400 Subject: [PATCH] ci: run Node 20, the version the host deploys with CI ran Node 18 (out of support since 2025-04) while ops/host/subquery-deploy runs subql codegen/build on the host's Node 20. serialize-javascript 7, which the build now resolves, needs the global crypto that Node 18 does not have: the build failed in CI and would have passed on the host. --- .github/workflows/ci.yml | 2 +- .github/workflows/code-quality.yml | 10 +++++----- .github/workflows/deploy.yml | 4 ++-- .github/workflows/security.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd7fb47..b4f6c18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 83a3d54..34e843b 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable @@ -41,7 +41,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable @@ -63,7 +63,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable @@ -88,7 +88,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Install complexity checker run: npm install -g complexity-report @@ -112,7 +112,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Install jscpd run: npm install -g jscpd diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fd67d88..03c267a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable @@ -58,7 +58,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 0012512..add3107 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: '18' + node-version: '20' - name: Enable Corepack run: corepack enable