Skip to content

Commit

Permalink
build: bump to node 16 with npm 8
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed May 20, 2022
1 parent 0f74a1a commit afe52b9
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 23 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: "npm"

- 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: "npm"

- 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: "npm"

- name: Cache node_modules
Expand Down
7 changes: 6 additions & 1 deletion deployer/aws-lambda/content-origin-request/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 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,8 @@
"dotenv": "^16.0.1"
},
"engines": {
"node": ">=14.x"
"node": ">=14.x",
"npm": ">=8.0.0"
},
"aws": {
"name": "mdn-content-origin-request",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 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,8 @@
"@yari-internal/constants": "file:../../../libs/constants"
},
"engines": {
"node": ">=14.x"
"node": ">=14.x",
"npm": ">=8.0.0"
},
"aws": {
"name": "mdn-content-origin-response",
Expand Down
3 changes: 2 additions & 1 deletion deployer/aws-lambda/mdn-stripe-price-ids/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 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,8 @@
"jest": "27.5.1"
},
"engines": {
"node": ">=14.x"
"node": ">=14.x",
"npm": ">=8.0.0"
},
"aws": {
"name": "mdn-stripe-price-ids",
Expand Down
11 changes: 8 additions & 3 deletions deployer/aws-lambda/tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion deployer/aws-lambda/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"polka": "0.5.2"
},
"engines": {
"node": ">=14.x"
"node": ">=14.x",
"npm": ">=8.0.0"
}
}
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
"webpack-node-externals": "^3.0.0"
},
"engines": {
"node": ">=14.0.0 <17.0.0"
"node": ">=16.11.0",
"npm": ">=8.0.0"
}
}

0 comments on commit afe52b9

Please sign in to comment.