From 816d29e6f46d6718f5ff61588edd6baed3da5561 Mon Sep 17 00:00:00 2001 From: Jordan Jones Date: Tue, 14 Nov 2023 11:32:18 -0800 Subject: [PATCH] perf(node): update to support node 20 --- .github/settings.yml | 2 +- .github/workflows/testPublish.yml | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index e1b929c..805a7b3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -56,7 +56,7 @@ branches: # Required. Require branches to be up to date before merging. strict: true # Required. The list of status checks to require in order to merge into this branch - contexts: ["test (18.x)", "license/cla"] + contexts: ["test (18.x)", "test (20.x)", "license/cla"] # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: false # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. diff --git a/.github/workflows/testPublish.yml b/.github/workflows/testPublish.yml index 6c7f69d..808f840 100644 --- a/.github/workflows/testPublish.yml +++ b/.github/workflows/testPublish.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 @@ -37,7 +37,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - run: npm ci - run: npm run build - uses: cycjimmy/semantic-release-action@v3 diff --git a/package-lock.json b/package-lock.json index 9a9895e..9122b5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "whatwg-fetch": "^3.6.19" }, "engines": { - "node": ">=18" + "node": "^18 || ^20" }, "peerDependencies": { "@aurodesignsystem/design-tokens": "^4.1.1", diff --git a/package.json b/package.json index 381f452..e000090 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "main": "index.js", "license": "Apache-2.0", "engines": { - "node": ">=18" + "node": "^18 || ^20" }, "dependencies": { "@alaskaairux/auro-loader": "^1.1.1",