diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 6c63ed2ac3..be234452d9 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -16,10 +16,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Node.js v18 + - name: Setup Node.js v20 uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83547a4471..aab258516e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [18, 20] + node: [20, 22] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/templates.yml b/.github/workflows/templates.yml index 5d7595a42b..7943a8a508 100644 --- a/.github/workflows/templates.yml +++ b/.github/workflows/templates.yml @@ -11,7 +11,7 @@ jobs: strategy: # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs matrix: - node: [18, 20] + node: [20, 22] template: [astro, nextjs, remix] include: - template: astro diff --git a/.nvmrc b/.nvmrc index a77793ecc5..9de2256827 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/hydrogen +lts/iron diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19588af374..13d0bfadda 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,7 +32,7 @@ We appreciate pull requests (PRs) for smaller changes and bug fixes. For larger ### Prerequisites -- [Node.js v18](https://nodejs.org/) +- [Node.js v20](https://nodejs.org/) ### Installation diff --git a/package-lock.json b/package-lock.json index 7e18960f58..238daa3042 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42050,7 +42050,7 @@ "vite": "^5.4.8" }, "engines": { - "node": ">=18" + "node": ">=20" }, "optionalDependencies": { "moment": ">=2.30", @@ -42156,7 +42156,7 @@ "typescript": "^5.6.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "react": ">=16.0.0 <19.0.0" @@ -42190,7 +42190,7 @@ "typescript-plugin-css-modules": "^5.1.0" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "packages/stylelint-plugin-circuit-ui": { diff --git a/packages/circuit-ui/package.json b/packages/circuit-ui/package.json index d316ae6edd..677fadc547 100644 --- a/packages/circuit-ui/package.json +++ b/packages/circuit-ui/package.json @@ -102,6 +102,6 @@ "react-dates": ">=21.8" }, "engines": { - "node": ">=18" + "node": ">=20" } } diff --git a/packages/cna-template/README.md b/packages/cna-template/README.md index e6cc1a58ba..222d6f72b8 100644 --- a/packages/cna-template/README.md +++ b/packages/cna-template/README.md @@ -10,7 +10,7 @@ A [create-next-app template](https://nextjs.org/docs/api-reference/create-next-a ## 💻 Prerequisites -- You should have **Node.js** installed at a version equal to or above **`v18.0.0`**. +- You should have **Node.js** installed at a version equal to or above **`v20.0.0`**. ## ✨ Setting up a new Circuit UI + Next.js project diff --git a/packages/cna-template/template/.nvmrc b/packages/cna-template/template/.nvmrc index a77793ecc5..9de2256827 100644 --- a/packages/cna-template/template/.nvmrc +++ b/packages/cna-template/template/.nvmrc @@ -1 +1 @@ -lts/hydrogen +lts/iron diff --git a/packages/icons/package.json b/packages/icons/package.json index 161c4293e5..8fc68a409b 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -48,6 +48,6 @@ "react": ">=16.0.0 <19.0.0" }, "engines": { - "node": ">=18" + "node": ">=20" } } diff --git a/packages/remix-template/package.json b/packages/remix-template/package.json index 1f2925cc9d..13f53d3565 100644 --- a/packages/remix-template/package.json +++ b/packages/remix-template/package.json @@ -38,6 +38,6 @@ "typescript-plugin-css-modules": "^5.1.0" }, "engines": { - "node": ">=18" + "node": ">=20" } }