diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 3c7f242e787a17..ee67badb6d3be3 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -2,5 +2,5 @@ "buildCommand": "build:codesandbox", "packages": ["packages/react", "packages/react-components/react-components"], "sandboxes": ["x5u3t", "spnyu"], - "node": "18" + "node": "20" } diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 15fd7b83b20cd0..332364aa72dd1e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -ARG VARIANT=18-bookworm +ARG VARIANT=20-bookworm # https://github.com/devcontainers/images/tree/main/src/typescript-node FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c4432253ef93a0..036816f8059aa9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "build": { "dockerfile": "Dockerfile", "args": { - "VARIANT": "18-bookworm" + "VARIANT": "20-bookworm" } }, "features": { diff --git a/.devops/templates/tools.yml b/.devops/templates/tools.yml index 99f5a7a6ca2dac..7d9e9af92f0fe3 100644 --- a/.devops/templates/tools.yml +++ b/.devops/templates/tools.yml @@ -6,7 +6,7 @@ steps: # - 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. # https://github.com/actions/runner-images/blob/ubuntu20/20230924.1/images/linux/Ubuntu2004-Readme.md#nodejs - version: '18.x' + version: '20.x' checkLatest: false displayName: 'Install Node.js' retryCountOnTaskFailure: 1 diff --git a/.github/workflows/check-packages.yml b/.github/workflows/check-packages.yml index cbfb7971cd1da8..cc5403deac4315 100644 --- a/.github/workflows/check-packages.yml +++ b/.github/workflows/check-packages.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - uses: tj-actions/changed-files@v41 @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - uses: actions/github-script@v6 with: @@ -70,7 +70,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - uses: actions/github-script@v6 with: diff --git a/.github/workflows/docsite-publish-chromatic.yml b/.github/workflows/docsite-publish-chromatic.yml index 6ff2d279f0c085..98996527dc860e 100644 --- a/.github/workflows/docsite-publish-chromatic.yml +++ b/.github/workflows/docsite-publish-chromatic.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - name: Install packages diff --git a/.github/workflows/docsite-publish-ghpages.yml b/.github/workflows/docsite-publish-ghpages.yml index a3d2486b85e143..7e624f0c19312b 100644 --- a/.github/workflows/docsite-publish-ghpages.yml +++ b/.github/workflows/docsite-publish-ghpages.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - name: Install packages diff --git a/package.json b/package.json index 74a9c0caf08ee3..21c0bb1f89ab46 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/microsoft/fluentui" }, "engines": { - "node": "^18.0.0 || ^20.0.0" + "node": "^20.0.0 || ^22.0.0" }, "scripts": { "dedupe": "npx yarn-deduplicate --strategy fewer",