Skip to content

Commit

Permalink
build: use Node.js =20.3.0 for local dev env (#4432)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Sep 18, 2023
1 parent 292b016 commit 44b16ec
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16.16
node-version: 20

- name: Cache npm cache files
id: cache-npm-cache-files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Cache Node Modules and Cypress binary
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.2
20.3.0
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ Script name | Description

## Running locally

##### Prerequisites
### Prerequisites

Generally, we recommend the following guidelines from [Node.js Releases](https://nodejs.org/en/about/releases/) to only use Active LTS or Maintenance LTS releases.
- git, any version
- **Node.js >=20.3.0** and **npm >=9.6.7** are the minimum required versions that this repo runs on, but we always recommend using the latest version of Node.js.

Minimal supported Node.js is `v16.13.2 (npm v8.1.2)`.
```shell
$ npm i --legacy-peer-deps
```

If you have Node.js and npm installed, you can run `npm start` to spin up a static server.

Expand Down
Loading

0 comments on commit 44b16ec

Please sign in to comment.