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:
Mathias Bynens 2021-05-17 11:34:58 +02:00 committed by GitHub
parent e0b35d7d1d
commit 97c9fe2520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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: |

View File

@ -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,