chore: drop support for Node.js 10 (#7200)
This is a prerequisite for shipping Puppeteer as JavaScript modules. Issue: #6753 BREAKING CHANGE: Node.js 10 is no longer supported.
This commit is contained in:
parent
e0b35d7d1d
commit
97c9fe2520
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -14,9 +14,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# Include all major maintenance + active LTS Node.js versions.
|
||||
# Include all major maintenance + active LTS + current Node.js versions.
|
||||
# https://github.com/nodejs/Release#release-schedule
|
||||
node: [10, 12, 14]
|
||||
node: [12, 14, 16]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
with:
|
||||
# Test only the oldest maintenance LTS Node.js version.
|
||||
# https://github.com/nodejs/Release#release-schedule
|
||||
node-version: 10
|
||||
node-version: 12
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -135,7 +135,7 @@ jobs:
|
||||
with:
|
||||
# Test only the oldest maintenance LTS Node.js version.
|
||||
# https://github.com/nodejs/Release#release-schedule
|
||||
node-version: 10
|
||||
node-version: 12
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -3,9 +3,9 @@
|
||||
"esModuleInterop": true,
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"target": "ESNext",
|
||||
"target": "ES2019",
|
||||
"moduleResolution": "node",
|
||||
"module": "ESNext",
|
||||
"module": "ES2015",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"resolveJsonModule": true,
|
||||
|
Loading…
Reference in New Issue
Block a user