From 31f056503049667c53d4cdb731d3e456415cfe33 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:43:08 -0800 Subject: [PATCH] Add support for Node.js version 18 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js v18 was released on 2022-04-19¹. ¹ https://github.com/nodejs/Release/blob/54e615d89bf2e056644e138e7e33714bfd1b67ee/README.md#release-schedule --- .github/workflows/ci.yaml | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bd6be8b81..4f8cce485 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/package.json b/package.json index cb895252a..09d67f48b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "repository": "github:nextstrain/auspice", "homepage": "https://www.npmjs.com/package/auspice", "engines": { - "node": "^12 || ^14 || ^16", + "node": "^12 || ^14 || ^16 || ^18", "npm": "^7 || ^8" }, "bin": {