diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc472f17f..f86f998c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,6 @@ jobs: strategy: matrix: include: - - node-version: 10.x - test-on-old-node: 1 - - node-version: 12.x - test-on-old-node: 1 - # test-on-brower: 1 - node-version: 14.x - node-version: 16.x - node-version: 18.x @@ -37,17 +32,8 @@ jobs: # npm cache files are stored in `~/.npm` on Linux/macOS path: ~/.npm key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} - - name: Install Dependencies On Old Node ${{ matrix.node-version }} - if: ${{ matrix.test-on-old-node == '1' }} - run: node ci/remove-deps-4-old-node.js && yarn install --ignore-scripts - - name: Install Dependencies On Node ${{ matrix.node-version }} - if: ${{ matrix.test-on-old-node != '1' }} - run: yarn install - name: Build run: npm run build - - name: Build On Old Node - if: ${{ matrix.test-on-old-node == '1' }} - run: npm run build:test - name: Test On Node ${{ matrix.node-version }} env: BROWSER: ${{ matrix.test-on-brower }} diff --git a/.lib.babelrc b/.lib.babelrc index c8a1e7ddd..a151f4078 100644 --- a/.lib.babelrc +++ b/.lib.babelrc @@ -2,7 +2,7 @@ "presets": [ ["@babel/env", { "targets": { - "node": "6.4.0", + "node": "14.18.0", "browsers": [ "defaults, not ie 11" ] } }] diff --git a/.test.babelrc b/.test.babelrc index 073fd43ac..337b344be 100644 --- a/.test.babelrc +++ b/.test.babelrc @@ -2,7 +2,7 @@ "presets": [ ["@babel/env", { "targets": { - "node": "6.4.0", + "node": "14.18.0", "browsers": [ "defaults, not ie 11" ] } }] diff --git a/.travis.yml b/.travis.yml index 775cfc80b..7ad5293e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,18 +4,9 @@ node_js: - '18' - '16' - '14' - - '12' after_success: npm run coverage env: global: - SAUCE_USERNAME='shtylman-superagent' - SAUCE_ACCESS_KEY='39a45464-cb1d-4b8d-aa1f-83c7c04fa673' - -matrix: - include: - - node_js: "10" - env: BROWSER=1 - include: - - node_js: "12" - env: HTTP2_TEST=1 diff --git a/README.md b/README.md index aac2e0223..b277fe73d 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ If you are using [browserify][], [webpack][], [rollup][], or another bundler, th ## Supported Platforms -* Node: v6.x+ +* Node: v14.18.0+ * Browsers (see [.browserslistrc](.browserslistrc)): ```sh diff --git a/package.json b/package.json index 249064112..f84cb7878 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "zuul": "^3.12.0" }, "engines": { - "node": ">=6.4.0 <13 || >=14" + "node": ">=14.18.0" }, "files": [ "dist/*.js",