docs(website): upgrade Node.js version from 18 to 20 in GitHub/Travis workflow examples (#11443)
Some checks failed
Argos CI / take-screenshots (push) Has been cancelled
Build Hash Router / Build Hash Router (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Continuous Releases / Continuous Releases (push) Has been cancelled

This commit is contained in:
Dan Roscigno 2025-09-29 11:33:43 -04:00 committed by GitHub
parent f89fbae282
commit 8f32716def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,7 +401,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
- name: Install dependencies
@ -455,7 +455,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
- name: Install dependencies
@ -487,7 +487,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: yarn
- name: Install dependencies
@ -541,7 +541,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: yarn
- name: Install dependencies
@ -608,7 +608,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
@ -623,7 +623,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: yarn
- uses: webfactory/ssh-agent@v0.5.0
with:
@ -675,7 +675,7 @@ Continuous integration (CI) services are typically used to perform routine tasks
```yml title=".travis.yml"
language: node_js
node_js:
- 18
- 20
branches:
only:
- main
@ -734,7 +734,7 @@ steps:
- task: NodeTool@0
inputs:
versionSpec: '18'
versionSpec: '20'
displayName: Install Node.js
- script: |