From 879a5908c42d33291e3e1c1d6f6a03dfd30b1655 Mon Sep 17 00:00:00 2001 From: Sri Harsha Date: Wed, 15 Jan 2025 11:32:12 +0530 Subject: [PATCH 1/2] chore: update node version to latest LTS --- netlify.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index c19d64428a75..9134e4bc7067 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "website_and_docs/public" command = "chmod +x build-site.sh && ./build-site.sh" [context.production.environment] -NODE_VERSION = "18.14.1" +NODE_VERSION = "22.13.0" HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" HUGO_ENV = "production" @@ -12,7 +12,7 @@ HUGO_ENV = "production" command = "chmod +x build-site.sh && ./build-site.sh" [context.deploy-preview.environment] -NODE_VERSION = "18.14.1" +NODE_VERSION = "22.13.0" HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" @@ -20,6 +20,6 @@ GO_VERSION = "1.20.1" command = "chmod +x build-site.sh && ./build-site.sh" [context.branch-deploy.environment] -NODE_VERSION = "18.14.1" +NODE_VERSION = "22.13.0" HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" From 17058c31f3bee2ccfd2dd300ee49745fccfa133a Mon Sep 17 00:00:00 2001 From: Sri Harsha Date: Wed, 15 Jan 2025 11:55:33 +0530 Subject: [PATCH 2/2] [ci]: use node 22.x for js code samples --- .github/workflows/js-examples.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/js-examples.yml b/.github/workflows/js-examples.yml index 4c5e51c831b4..622f5160fa02 100644 --- a/.github/workflows/js-examples.yml +++ b/.github/workflows/js-examples.yml @@ -82,12 +82,12 @@ jobs: if: matrix.release == 'stable' uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' - name: Setup Node Nightly if: matrix.release == 'nightly' uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' registry-url: 'https://npm.pkg.github.com' - name: Use Nightly package.json in Ubuntu/macOS if: matrix.release == 'nightly' && matrix.os != 'windows'