diff --git a/.github/workflows/aws-lambda.yml b/.github/workflows/aws-lambda.yml index 835c98866804..ef1550b64b57 100644 --- a/.github/workflows/aws-lambda.yml +++ b/.github/workflows/aws-lambda.yml @@ -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. diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 09bf7d58a61f..7f47ee6c3481 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -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 diff --git a/.github/workflows/developing.yml b/.github/workflows/developing.yml index ed2258eb70b8..85c1ad986bd8 100644 --- a/.github/workflows/developing.yml +++ b/.github/workflows/developing.yml @@ -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 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3cb3c7bcf1ac..e9b4e6e42b4f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 diff --git a/.github/workflows/npm-published-simulation.yml b/.github/workflows/npm-published-simulation.yml index a04ecad35845..f1c0275d3fcb 100644 --- a/.github/workflows/npm-published-simulation.yml +++ b/.github/workflows/npm-published-simulation.yml @@ -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 diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 7bb5bbae28b5..95b45eb2df09 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -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 diff --git a/.github/workflows/pr-docs.yml b/.github/workflows/pr-docs.yml index 70d7c38b6222..178611812d41 100644 --- a/.github/workflows/pr-docs.yml +++ b/.github/workflows/pr-docs.yml @@ -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 diff --git a/.github/workflows/pr-kumascript.yml b/.github/workflows/pr-kumascript.yml index 387474a23b7c..30bdb6bc6533 100644 --- a/.github/workflows/pr-kumascript.yml +++ b/.github/workflows/pr-kumascript.yml @@ -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 diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index e83d30f171cb..070d183a107c 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -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 diff --git a/.github/workflows/stage-build.yml b/.github/workflows/stage-build.yml index 9105cf903b08..5673e278defe 100644 --- a/.github/workflows/stage-build.yml +++ b/.github/workflows/stage-build.yml @@ -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 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5c9c16f25891..8104860ee6d6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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 diff --git a/README.md b/README.md index 9b66c9b053a6..12c52cdb80c6 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,7 @@ Before you can start working with Yari, you need to: 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 diff --git a/deployer/aws-lambda/README.md b/deployer/aws-lambda/README.md index 895451bd62f2..8ce34a0c6b24 100644 --- a/deployer/aws-lambda/README.md +++ b/deployer/aws-lambda/README.md @@ -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", diff --git a/deployer/aws-lambda/content-origin-request/package.json b/deployer/aws-lambda/content-origin-request/package.json index 455b34870dcd..e520e84fca64 100644 --- a/deployer/aws-lambda/content-origin-request/package.json +++ b/deployer/aws-lambda/content-origin-request/package.json @@ -27,7 +27,7 @@ "dotenv": "^16.0.1" }, "engines": { - "node": ">=14.x" + "node": ">=16.x" }, "aws": { "name": "mdn-content-origin-request", diff --git a/deployer/aws-lambda/content-origin-response/package.json b/deployer/aws-lambda/content-origin-response/package.json index d6f54ff5238c..70e35e8ce3cf 100644 --- a/deployer/aws-lambda/content-origin-response/package.json +++ b/deployer/aws-lambda/content-origin-response/package.json @@ -12,7 +12,7 @@ "@yari-internal/constants": "file:../../../libs/constants" }, "engines": { - "node": ">=14.x" + "node": ">=16.x" }, "aws": { "name": "mdn-content-origin-response", diff --git a/deployer/aws-lambda/mdn-stripe-price-ids/package.json b/deployer/aws-lambda/mdn-stripe-price-ids/package.json index 6119c5179564..2898e1b19d7f 100644 --- a/deployer/aws-lambda/mdn-stripe-price-ids/package.json +++ b/deployer/aws-lambda/mdn-stripe-price-ids/package.json @@ -16,7 +16,7 @@ "jest": "27.5.1" }, "engines": { - "node": ">=14.x" + "node": ">=16.x" }, "aws": { "name": "mdn-stripe-price-ids", diff --git a/deployer/aws-lambda/tests/package.json b/deployer/aws-lambda/tests/package.json index 200722be562e..db4453ba4870 100644 --- a/deployer/aws-lambda/tests/package.json +++ b/deployer/aws-lambda/tests/package.json @@ -19,6 +19,6 @@ "polka": "0.5.2" }, "engines": { - "node": ">=14.x" + "node": ">=16.x" } } diff --git a/package.json b/package.json index 96440233659f..4a707a976b15 100644 --- a/package.json +++ b/package.json @@ -199,6 +199,6 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "node": ">=14.0.0 <17.0.0" + "node": ">=16.0.0" } }