feat: upgrade to node v16, package-lock.json v2, remove aws-sdk
This commit is contained in:
2
.github/workflows/browser-test.yml
vendored
2
.github/workflows/browser-test.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: rachmari/puppeteer-container@6d56d6e132a3df76cf60bc290a4282f7fbaed05e
|
uses: rachmari/puppeteer-container@6d56d6e132a3df76cf60bc290a4282f7fbaed05e
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
- name: cache node modules
|
- name: cache node modules
|
||||||
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/js-lint.yml
vendored
2
.github/workflows/js-lint.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Get npm cache directory
|
- name: Get npm cache directory
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|||||||
2
.github/workflows/link-check-dotcom.yml
vendored
2
.github/workflows/link-check-dotcom.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
2
.github/workflows/link-check-ghae.yml
vendored
2
.github/workflows/link-check-ghae.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
2
.github/workflows/link-check-ghes.yml
vendored
2
.github/workflows/link-check-ghes.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
5
.github/workflows/pa11y.yml
vendored
5
.github/workflows/pa11y.yml
vendored
@@ -15,6 +15,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
|
with:
|
||||||
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Get npm cache directory
|
- name: Get npm cache directory
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
- name: cache node modules
|
- name: cache node modules
|
||||||
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
- name: cache node modules
|
- name: cache node modules
|
||||||
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Get npm cache directory
|
- name: Get npm cache directory
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Get npm cache directory
|
- name: Get npm cache directory
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|||||||
2
.github/workflows/yml-lint.yml
vendored
2
.github/workflows/yml-lint.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Get npm cache directory
|
- name: Get npm cache directory
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
14.13.0
|
16.2.0
|
||||||
@@ -38,7 +38,7 @@ Fork with [GitHub Codespaces](https://github.com/features/codespaces):
|
|||||||
|
|
||||||
### Make your update:
|
### Make your update:
|
||||||
Make your changes to the file(s) you'd like to update. Here are some tips and tricks for [using the docs codebase](#working-in-the-githubdocs-repository).
|
Make your changes to the file(s) you'd like to update. Here are some tips and tricks for [using the docs codebase](#working-in-the-githubdocs-repository).
|
||||||
- Are you making changes to the application code? You'll need **Node.js v14** to run the site locally. See [contributing/development.md](contributing/development.md).
|
- Are you making changes to the application code? You'll need **Node.js v16** to run the site locally. See [contributing/development.md](contributing/development.md).
|
||||||
- Are you contributing to markdown? We use [GitHub Markdown](contributing/content-markup-reference.md).
|
- Are you contributing to markdown? We use [GitHub Markdown](contributing/content-markup-reference.md).
|
||||||
|
|
||||||
### Open a pull request
|
### Open a pull request
|
||||||
|
|||||||
26553
package-lock.json
generated
26553
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -123,7 +123,6 @@
|
|||||||
"@types/react-dom": "^17.0.5",
|
"@types/react-dom": "^17.0.5",
|
||||||
"async": "^3.2.0",
|
"async": "^3.2.0",
|
||||||
"await-sleep": "0.0.1",
|
"await-sleep": "0.0.1",
|
||||||
"aws-sdk": "^2.909.0",
|
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"babel-plugin-styled-components": "^1.12.0",
|
"babel-plugin-styled-components": "^1.12.0",
|
||||||
"chalk": "^4.1.1",
|
"chalk": "^4.1.1",
|
||||||
@@ -208,7 +207,7 @@
|
|||||||
"heroku-postbuild": "node script/early-access/clone-for-build.js && npm run build"
|
"heroku-postbuild": "node script/early-access/clone-for-build.js && npm run build"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 14.0.0"
|
"node": ">= 16.0.0"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/github/docs",
|
"repository": "https://github.com/github/docs",
|
||||||
"husky": {
|
"husky": {
|
||||||
|
|||||||
Reference in New Issue
Block a user