Skip to content

Commit

Permalink
chore: raise minimum node version to 20+
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Oct 7, 2024
1 parent a48edfa commit 26fc3a4
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/circuit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
"react-dates": ">=21.8"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/cna-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/cna-template/template/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
"react": ">=16.0.0 <19.0.0"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/remix-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"typescript-plugin-css-modules": "^5.1.0"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
}

0 comments on commit 26fc3a4

Please sign in to comment.