Skip to content

Commit

Permalink
Bump NodeJS from v16 to v18 (mdn#24308)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Feb 10, 2023
1 parent 6d2bbd1 commit e4d0258
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdown-lint-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-demand-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-check_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: yarn install
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: yarn install
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: yarn install
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: 18
cache: yarn

- name: Install all yarn packages
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"node": "^16.0.0 || >=18.0.0"
"node": ">=18.0.0"
},
"type": "module",
"scripts": {
Expand Down

0 comments on commit e4d0258

Please sign in to comment.