Skip to content

Commit

Permalink
build(deps): bump node from >=14.0.0 to >=16.0.0 (#6357)
Browse files Browse the repository at this point in the history
* build(workflows): bump node-version from 14 to 16

* build(deps)!: require node >= 16.0.0
  • Loading branch information
caugner authored May 25, 2022
1 parent fc55367 commit d8cf178
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws-lambda.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: "14"
node-version: "16"

# Note!
# We need to install all node modules in each of the 3 directories.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/developing.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: "14"
node-version: "16"
cache: "yarn"

- name: Cache node_modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-published-simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"
cache: "yarn"

- name: Cache node_modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.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: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-docs.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: "14"
node-version: "16"
cache: "yarn"

- name: Lint markdown files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-kumascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "16"

- name: Cache node_modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.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: "14"
node-version: "16"
cache: "yarn"

- name: Cache node_modules
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Before you can start working with Yari, you need to:
<!-- markdownlint-disable list-marker-space -->

1. Install [git](https://git-scm.com/), [Node.js](https://nodejs.org) (>=
12.11.0 and < 17.0.0), and
[Yarn 1](https://classic.yarnpkg.com/en/docs/install).
16.0.0), and [Yarn 1](https://classic.yarnpkg.com/en/docs/install).

1. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo)
the MDN [content](https://github.com/mdn/content) and
Expand Down
2 changes: 1 addition & 1 deletion deployer/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Lambda function if it contains the following:
"sanitize-filename": "^1.6.3"
},
"engines": {
"node": "14.x"
"node": ">=16.x"
},
"aws": {
"name": "mdn-content-origin-request",
Expand Down
2 changes: 1 addition & 1 deletion deployer/aws-lambda/content-origin-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dotenv": "^16.0.1"
},
"engines": {
"node": ">=14.x"
"node": ">=16.x"
},
"aws": {
"name": "mdn-content-origin-request",
Expand Down
2 changes: 1 addition & 1 deletion deployer/aws-lambda/content-origin-response/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@yari-internal/constants": "file:../../../libs/constants"
},
"engines": {
"node": ">=14.x"
"node": ">=16.x"
},
"aws": {
"name": "mdn-content-origin-response",
Expand Down
2 changes: 1 addition & 1 deletion deployer/aws-lambda/mdn-stripe-price-ids/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jest": "27.5.1"
},
"engines": {
"node": ">=14.x"
"node": ">=16.x"
},
"aws": {
"name": "mdn-stripe-price-ids",
Expand Down
2 changes: 1 addition & 1 deletion deployer/aws-lambda/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"polka": "0.5.2"
},
"engines": {
"node": ">=14.x"
"node": ">=16.x"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@
"webpack-node-externals": "^3.0.0"
},
"engines": {
"node": ">=14.0.0 <17.0.0"
"node": ">=16.0.0"
}
}

0 comments on commit d8cf178

Please sign in to comment.