Skip to content

Commit

Permalink
chore: drop support for Node.js 10 (#7200)
Browse files Browse the repository at this point in the history
This is a prerequisite for shipping Puppeteer as JavaScript modules.

Issue: #6753

BREAKING CHANGE: Node.js 10 is no longer supported.
  • Loading branch information
mathiasbynens committed May 17, 2021
1 parent e0b35d7 commit 97c9fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Expand Up @@ -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,
Expand Down

0 comments on commit 97c9fe2

Please sign in to comment.