From 8f2faa278fe6cdfad693484c277e37523d5ac274 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Fri, 9 Oct 2026 03:24:07 +0300 Subject: [PATCH] Align Learn deployment and developer Node runtime pins --- .devcontainer/devcontainer.json | 2 +- .github/workflows/generated-output-boundary.yml | 2 +- .github/workflows/rendered-link-integrity.yml | 2 +- FIRST-TOUCH-ATTRIBUTION.md | 2 +- README.md | 8 ++++---- netlify.toml | 2 +- src/seo/deploymentIntegrations.test.js | 6 +++--- static.toml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0e2360877c..b3626477b1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "node:22.23.2", + "image": "node:22.23.3", "extensions":[ "DavidAnson.vscode-markdownlint" ], diff --git a/.github/workflows/generated-output-boundary.yml b/.github/workflows/generated-output-boundary.yml index 7a40dad782..870ffad29d 100644 --- a/.github/workflows/generated-output-boundary.yml +++ b/.github/workflows/generated-output-boundary.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: 22.23.2 + node-version: 22.23.3 - name: Verify generated output ownership run: node scripts/verify-generated-output-boundary.mjs "$GITHUB_EVENT_PATH" diff --git a/.github/workflows/rendered-link-integrity.yml b/.github/workflows/rendered-link-integrity.yml index 45a22a4a06..2f2601a4f3 100644 --- a/.github/workflows/rendered-link-integrity.yml +++ b/.github/workflows/rendered-link-integrity.yml @@ -26,7 +26,7 @@ concurrency: cancel-in-progress: true env: - NODE_VERSION: "22.23.2" + NODE_VERSION: "22.23.3" NODE_OPTIONS: "--max-old-space-size=3072" DOCUSAURUS_SSR_CONCURRENCY: "4" diff --git a/FIRST-TOUCH-ATTRIBUTION.md b/FIRST-TOUCH-ATTRIBUTION.md index 0ccc74880a..ba0a20137e 100644 --- a/FIRST-TOUCH-ATTRIBUTION.md +++ b/FIRST-TOUCH-ATTRIBUTION.md @@ -63,7 +63,7 @@ authentication callback size. ## Validation and rollback -Use Node.js 22.23.2 and the existing Yarn lockfile: +Use Node.js 22.23.3 and the existing Yarn lockfile: ```sh npm run test:first-touch diff --git a/README.md b/README.md index 0e431e7574..849ba02df8 100644 --- a/README.md +++ b/README.md @@ -33,15 +33,15 @@ Please also look at the [style guide](https://github.com/netdata/netdata/blob/ma cd learn ``` -2. Install Node.js 22.14.0, the version pinned by the Netlify build. With `nvm`: +2. Install Node.js 22.23.3, the version pinned by the Netlify build. With `nvm`: ```bash - nvm install 22.14.0 - nvm use 22.14.0 + nvm install 22.23.3 + nvm use 22.23.3 ``` 3. Install Yarn Classic 1.22.22 and the locked dependencies. Netlify selects Yarn because - this repository tracks `yarn.lock`; npm 10.9.2 remains pinned for the nested build-gate + this repository tracks `yarn.lock`; npm 10.9.9 remains pinned for the nested build-gate install run by `build:netlify`. ```bash diff --git a/netlify.toml b/netlify.toml index 6c55fbe0a8..8276991a73 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ [build] command = "npm run build:netlify" publish = "build" - environment = { NPM_VERSION = "10.9.8", NODE_VERSION = "22.23.2", NODE_OPTIONS = "--max-old-space-size=3072", DOCUSAURUS_SSR_CONCURRENCY = "4"} + environment = { NPM_VERSION = "10.9.9", NODE_VERSION = "22.23.3", NODE_OPTIONS = "--max-old-space-size=3072", DOCUSAURUS_SSR_CONCURRENCY = "4"} [[plugins]] package = "./plugins/netlify-plugin-indexnow" diff --git a/src/seo/deploymentIntegrations.test.js b/src/seo/deploymentIntegrations.test.js index 0e3b06d40a..369e786be1 100644 --- a/src/seo/deploymentIntegrations.test.js +++ b/src/seo/deploymentIntegrations.test.js @@ -56,8 +56,8 @@ describe('shared deployment integrations', () => { for (const relative of ['static.toml', 'netlify.toml']) { const config = fs.readFileSync(path.join(root, relative), 'utf8'); expect(config).not.toContain('NETLIFY_USE_YARN'); - expect(config).toContain('NODE_VERSION = "22.23.2"'); - expect(config).toContain('NPM_VERSION = "10.9.8"'); + expect(config).toContain('NODE_VERSION = "22.23.3"'); + expect(config).toContain('NPM_VERSION = "10.9.9"'); } }); @@ -65,7 +65,7 @@ describe('shared deployment integrations', () => { const devcontainer = JSON.parse( fs.readFileSync(path.join(root, '.devcontainer/devcontainer.json'), 'utf8'), ); - expect(devcontainer.image).toBe('node:22.23.2'); + expect(devcontainer.image).toBe('node:22.23.3'); }); it('uses the stable Docusaurus Faster engine within the Netlify memory bound', () => { diff --git a/static.toml b/static.toml index 24855f9ce6..01f7726c40 100644 --- a/static.toml +++ b/static.toml @@ -3,7 +3,7 @@ [build] command = "npm run build:netlify" publish = "build" - environment = { NPM_VERSION = "10.9.8", NODE_VERSION = "22.23.2", NODE_OPTIONS = "--max-old-space-size=3072", DOCUSAURUS_SSR_CONCURRENCY = "4"} + environment = { NPM_VERSION = "10.9.9", NODE_VERSION = "22.23.3", NODE_OPTIONS = "--max-old-space-size=3072", DOCUSAURUS_SSR_CONCURRENCY = "4"} [[plugins]] package = "./plugins/netlify-plugin-indexnow"