From 99762f40652c72b2cb52f5da07b6105c22ef3d96 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Fri, 3 Jun 2022 21:33:40 +0000 Subject: [PATCH] Remove support for Node.js version 12, add 18 - 2022-04-19: [v18 released](https://nodejs.org/en/about/releases/). - 2022-04-30: [v12 went from LTS to end-of-life status](https://github.com/nodejs/Release#end-of-life-releases). Also, sync the npm versions which correspond to Node.js v14/v16/v18 per https://nodejs.org/en/download/releases/. --- .github/workflows/ci.yaml | 10 +++++----- package.json | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0106ca9c9..ef790b4c0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/package.json b/package.json index f1e4aa4b3..c5bd29572 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "repository": "github:nextstrain/auspice", "homepage": "https://www.npmjs.com/package/auspice", "engines": { - "node": "^12 || ^14 || ^16", - "npm": ">=6.9" + "node": "^14 || ^16 || ^18", + "npm": "^6.14.4 || ^7.10.0 || ^8.6.0" }, "bin": { "auspice": "./auspice.js"