From 5edeb9ea17b1f0190a3590508f2e7911b5f70659 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Sat, 24 Apr 2021 18:29:28 -0700 Subject: [PATCH] feat(node)!: drop Node 10 (#1919) --- .github/workflows/ci.yaml | 2 +- .github/workflows/coverage.yaml | 19 ------------------- package.json | 2 +- tsconfig.json | 3 ++- 4 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/coverage.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8a3edd933..01fc64f58 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [10, 12, 13, 14] + node: [12, 14, 16] steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml deleted file mode 100644 index 80cd9ebc4..000000000 --- a/.github/workflows/coverage.yaml +++ /dev/null @@ -1,19 +0,0 @@ -on: - push: - branches: - - master -name: coverage -jobs: - coveralls: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: 13 - - run: npm install - - run: npm test - - run: ./node_modules/.bin/c8 report --reporter=text-lcov | ./node_modules/.bin/coveralls - env: - COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" - COVERALLS_GIT_BRANCH: "${{ github.ref }}" diff --git a/package.json b/package.json index b72e1650b..21a34aaa3 100644 --- a/package.json +++ b/package.json @@ -111,6 +111,6 @@ ], "license": "MIT", "engines": { - "node": ">=10" + "node": ">=12" } } diff --git a/tsconfig.json b/tsconfig.json index 1975ea093..99fbfd334 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,8 @@ "outDir": "build", "rootDir": ".", "sourceMap": false, - "target": "es2017", + "target": "es2019", + "lib": ["es2019", "es2020.bigint", "es2020.string", "es2020.symbol.wellknown"], "moduleResolution": "node", "module": "es2015", "removeComments": true