From bd813a20e4d8e1e3334f247c591db348d39ab7e5 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Fri, 21 Apr 2023 14:08:15 +0200 Subject: [PATCH] chore: add node 20 to CI --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/reusable-audit.yml | 2 +- .github/workflows/reusable-lint.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f155bd01..a24cd671 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: os: [ubuntu-latest] # Workspaces support was added from npm 7, so Node 14 isn't supported to # build this library. - node-version: ["16", "18"] + node-version: ["16", "18", "20"] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a85b6d3d..3fee83c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: npm registry-url: "https://registry.npmjs.org" - run: npm ci --workspaces diff --git a/.github/workflows/reusable-audit.yml b/.github/workflows/reusable-audit.yml index db4bcd12..d4005b25 100644 --- a/.github/workflows/reusable-audit.yml +++ b/.github/workflows/reusable-audit.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "20" registry-url: "https://registry.npmjs.org" cache: "npm" # Install dependencies so license-checker actually checks them: diff --git a/.github/workflows/reusable-lint.yml b/.github/workflows/reusable-lint.yml index 8d6d833d..5207f8c0 100644 --- a/.github/workflows/reusable-lint.yml +++ b/.github/workflows/reusable-lint.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "20" cache: "npm" # Check the package.json is correctly formed - if: ${{inputs.usePackageCheck}}