Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: advise using Node 18 in deployment #7611

Merged
merged 1 commit into from Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -14,7 +14,7 @@ Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new

### What you'll need

- [Node.js](https://nodejs.org/en/download/) version 14 or above:
- [Node.js](https://nodejs.org/en/download/) version 16.14 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.

## Generate a new site
Expand Down
12 changes: 6 additions & 6 deletions website/docs/deployment.mdx
Expand Up @@ -398,7 +398,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn

- name: Install dependencies
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn

- name: Install dependencies
Expand Down Expand Up @@ -495,7 +495,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -508,7 +508,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn
- uses: webfactory/ssh-agent@v0.5.0
with:
Expand Down Expand Up @@ -543,7 +543,7 @@ Continuous integration (CI) services are typically used to perform routine tasks
```yml title=".travis.yml"
language: node_js
node_js:
- '14.15.0'
- 18
branches:
only:
- main
Expand Down Expand Up @@ -602,7 +602,7 @@ steps:

- task: NodeTool@0
inputs:
versionSpec: 14.x
versionSpec: '18'
displayName: Install Node.js

- script: |
Expand Down