From 710739ce09c354328bc7946b314fb80b4ab72dce Mon Sep 17 00:00:00 2001 From: "David J. Hamilton" Date: Wed, 8 Feb 2023 09:14:18 -0800 Subject: [PATCH] Bump node to supported versions See [Node Releases](https://github.com/nodejs/release#release-schedule) --- .github/workflows/ci.yml | 14 +++++++++++--- package.json | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb1b4c19..cb7d91da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 + with: + node-version: 14 - run: yarn install - run: yarn lint @@ -26,6 +28,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 + with: + node-version: 14 - run: yarn install - run: yarn node-test-with-coverage @@ -37,6 +41,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 + with: + node-version: 14 - run: yarn install --no-lockfile - run: yarn node-test @@ -113,6 +119,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 + with: + node-version: 14 - name: install deps run: yarn install @@ -128,7 +136,7 @@ jobs: npm-smoke-tests: strategy: matrix: - node: ['10', '12', '14'] + node: ['14', '16', '18'] name: Smoke Tests (Node v${{ matrix.node }} with npm) runs-on: ubuntu-latest @@ -154,7 +162,7 @@ jobs: yarn-smoke-tests: strategy: matrix: - node: ['10', '12', '14'] + node: ['14', '16', '18'] name: Smoke Tests (Node v${{ matrix.node }} with yarn) runs-on: ubuntu-latest @@ -189,7 +197,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: install deps run: yarn install diff --git a/package.json b/package.json index 6d7f5a99..a593f2aa 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "tmp-sync": "^1.1.0" }, "engines": { - "node": "10.* || 12.* || >= 14.*" + "node": "14.* || 16.* || >= 18.*" }, "publishConfig": { "registry": "https://registry.npmjs.org"