Skip to content

Commit

Permalink
docs: advise using Node 18 in deployment (#7611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Jun 14, 2022
1 parent fb3138d commit 56e7c31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/create-docusaurus/templates/shared/docs/intro.md
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

0 comments on commit 56e7c31

Please sign in to comment.