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.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-10-12 17:17:27 +04:00
1 parent c4f2bd943b
commit ee88cc6bd4
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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
+5 -5
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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