diff --git a/.devops/templates/tools.yml b/.devops/templates/tools.yml index ea13a12765c42e..f5ef26aaf44b42 100644 --- a/.devops/templates/tools.yml +++ b/.devops/templates/tools.yml @@ -17,10 +17,9 @@ steps: # 👉 NOTE: # - we can use only versions that ship with container, otherwise we will run into nodejs installation issues. # - as 1es bumps those versions within container automatically we need to use `.x` to not run into issues once they bump the versions. - # - `checkLatest: true` is required because some dependencies (e.g. @microsoft/fast-build) require node >=22.18.0, - # while the 1ES container may still ship an older 22.x (e.g. 22.14.0). This forces the task to install the latest 22.x. + # - `checkLatest: true` forces the task to install the latest 24.x in case the 1ES container ships an older 24.x patch release. # https://github.com/actions/runner-images/blob/ubuntu20/20230924.1/images/linux/Ubuntu2004-Readme.md#nodejs - version: '22.x' + version: '24.x' checkLatest: true displayName: 'Install Node.js' retryCountOnTaskFailure: 1 diff --git a/.github/actions/run-publish-vr-screenshot/action.yml b/.github/actions/run-publish-vr-screenshot/action.yml index 126e44de7c69d8..41ad01dde3668b 100644 --- a/.github/actions/run-publish-vr-screenshot/action.yml +++ b/.github/actions/run-publish-vr-screenshot/action.yml @@ -29,14 +29,14 @@ inputs: runs: using: 'composite' steps: - - uses: nrwl/nx-set-shas@v4 + - uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '20' + node-version: '24' - run: yarn install --frozen-lockfile shell: bash diff --git a/.github/instructions/copilot.instructions.md b/.github/instructions/copilot.instructions.md index 8d55b58c90fbca..e6858ff1c93c65 100644 --- a/.github/instructions/copilot.instructions.md +++ b/.github/instructions/copilot.instructions.md @@ -12,7 +12,7 @@ This is a large Nx monorepo with the following key characteristics: - **Package Manager**: Yarn v1 with strict dependency management - **Build System**: Nx workspace with custom plugins (`tools/workspace-plugin/`) -- **Node.js Versions**: ^22.0.0 +- **Node.js Versions**: ^22.0.0 || ^24.0.0 (CI runs on Node.js 24 — the current Active LTS) - **Languages**: TypeScript (strict mode), React, Web Components - **Testing**: Jest, Cypress (E2E), Storybook + StoryWright (Visual Regression), SSR testing (test-ssr) - **Documentation**: Storybook sites, api.md files via API Extractor diff --git a/.github/workflows/bundle-size-base.yml b/.github/workflows/bundle-size-base.yml index 3960104d8b0675..2513557c6f59a8 100644 --- a/.github/workflows/bundle-size-base.yml +++ b/.github/workflows/bundle-size-base.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: yarn install --frozen-lockfile diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 9c9afb4229a9d8..a345b6f1e010c6 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -28,14 +28,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)" diff --git a/.github/workflows/check-packages.yml b/.github/workflows/check-packages.yml index 2736994f3b41a8..ed5bfcdfcc2a37 100644 --- a/.github/workflows/check-packages.yml +++ b/.github/workflows/check-packages.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: '22' + node-version: '24' cache: 'yarn' - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 @@ -46,7 +46,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: 22.x + node-version: 24.x - uses: actions/github-script@v8 with: @@ -73,7 +73,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: 22.x + node-version: 24.x - uses: actions/github-script@v8 with: diff --git a/.github/workflows/check-tooling.yml b/.github/workflows/check-tooling.yml index b7f0830b0897c6..7ddb706a37c2ca 100644 --- a/.github/workflows/check-tooling.yml +++ b/.github/workflows/check-tooling.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: '22' + node-version: '24' - run: yarn install --frozen-lockfile diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 023166c07f524c..ead799bce97fb0 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -27,6 +27,6 @@ jobs: uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: yarn install --frozen-lockfile diff --git a/.github/workflows/docsite-publish-ghpages.yml b/.github/workflows/docsite-publish-ghpages.yml index 7e18da844d0335..4afac42447c399 100644 --- a/.github/workflows/docsite-publish-ghpages.yml +++ b/.github/workflows/docsite-publish-ghpages.yml @@ -19,13 +19,13 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: - node-version: '22' + node-version: '24' cache: 'yarn' - name: Install packages diff --git a/.github/workflows/pr-vrt.yml b/.github/workflows/pr-vrt.yml index 4d7a717b33d311..b44c424581e7a3 100644 --- a/.github/workflows/pr-vrt.yml +++ b/.github/workflows/pr-vrt.yml @@ -31,14 +31,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: yarn install --frozen-lockfile - run: yarn playwright install --with-deps diff --git a/.github/workflows/pr-website-deploy.yml b/.github/workflows/pr-website-deploy.yml index 2b7c54f0d7faba..f5314d6d8a1dda 100644 --- a/.github/workflows/pr-website-deploy.yml +++ b/.github/workflows/pr-website-deploy.yml @@ -28,14 +28,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)" - name: NodeJS heap default size diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index cfe1c6a5faeec8..297c59b8251151 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -35,14 +35,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)" @@ -90,14 +90,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)" @@ -147,14 +147,14 @@ jobs: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3 + uses: nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5.0.1 with: main-branch-name: 'master' - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)" diff --git a/.github/workflows/vrt-baseline.yml b/.github/workflows/vrt-baseline.yml index 23ecdd85fb60c2..6599bcd1f21319 100644 --- a/.github/workflows/vrt-baseline.yml +++ b/.github/workflows/vrt-baseline.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-node@v6 with: cache: 'yarn' - node-version: '22' + node-version: '24' - run: yarn install --frozen-lockfile - run: yarn playwright install --with-deps