From 96525e52d7d1589916f3c035779565b4a7297c3d Mon Sep 17 00:00:00 2001 From: chris48s Date: Mon, 6 May 2024 20:22:59 +0100 Subject: [PATCH] run tests on node 22 (#10127) --- .../{test-integration-21.yml => test-integration-22.yml} | 6 +++--- .github/workflows/{test-main-21.yml => test-main-22.yml} | 6 +++--- .github/workflows/test-package-cli.yml | 1 + .github/workflows/test-package-lib.yml | 3 +++ .../{test-services-21.yml => test-services-22.yml} | 6 +++--- README.md | 2 +- 6 files changed, 14 insertions(+), 10 deletions(-) rename .github/workflows/{test-integration-21.yml => test-integration-22.yml} (94%) rename .github/workflows/{test-main-21.yml => test-main-22.yml} (87%) rename .github/workflows/{test-services-21.yml => test-services-22.yml} (95%) diff --git a/.github/workflows/test-integration-21.yml b/.github/workflows/test-integration-22.yml similarity index 94% rename from .github/workflows/test-integration-21.yml rename to .github/workflows/test-integration-22.yml index cfd19c2935fe9..43c2dba7e2681 100644 --- a/.github/workflows/test-integration-21.yml +++ b/.github/workflows/test-integration-22.yml @@ -1,4 +1,4 @@ -name: Integration@node 21 +name: Integration@node 22 on: pull_request: types: [opened, reopened, synchronize] @@ -8,7 +8,7 @@ on: - 'dependabot/**' jobs: - test-integration-21: + test-integration-22: runs-on: ubuntu-latest env: PAT_EXISTS: ${{ secrets.GH_PAT != '' }} @@ -35,7 +35,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node-version: 21 + node-version: 22 env: NPM_CONFIG_ENGINE_STRICT: 'false' diff --git a/.github/workflows/test-main-21.yml b/.github/workflows/test-main-22.yml similarity index 87% rename from .github/workflows/test-main-21.yml rename to .github/workflows/test-main-22.yml index 49ba8e4e19f8d..20559ac6509a5 100644 --- a/.github/workflows/test-main-21.yml +++ b/.github/workflows/test-main-22.yml @@ -1,4 +1,4 @@ -name: Main@node 21 +name: Main@node 22 on: pull_request: types: [opened, reopened, synchronize] @@ -8,7 +8,7 @@ on: - 'dependabot/**' jobs: - test-main-21: + test-main-22: runs-on: ubuntu-latest steps: - name: Checkout @@ -17,7 +17,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node-version: 21 + node-version: 22 env: NPM_CONFIG_ENGINE_STRICT: 'false' diff --git a/.github/workflows/test-package-cli.yml b/.github/workflows/test-package-cli.yml index e4467bf03950d..02fded7a57fde 100644 --- a/.github/workflows/test-package-cli.yml +++ b/.github/workflows/test-package-cli.yml @@ -19,6 +19,7 @@ jobs: - node: '16' - node: '18' - node: '20' + - node: '22' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test-package-lib.yml b/.github/workflows/test-package-lib.yml index 9dbeda6f8d384..69c3329236757 100644 --- a/.github/workflows/test-package-lib.yml +++ b/.github/workflows/test-package-lib.yml @@ -22,6 +22,9 @@ jobs: - node: '20' npm: '^10' engine-strict: 'true' + - node: '22' + npm: '^10' + engine-strict: 'false' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test-services-21.yml b/.github/workflows/test-services-22.yml similarity index 95% rename from .github/workflows/test-services-21.yml rename to .github/workflows/test-services-22.yml index 7d89df41d72ac..cc6fd43867ee3 100644 --- a/.github/workflows/test-services-21.yml +++ b/.github/workflows/test-services-22.yml @@ -1,4 +1,4 @@ -name: Services@node 21 +name: Services@node 22 on: pull_request: types: [opened, edited, reopened, synchronize] @@ -7,7 +7,7 @@ on: - 'gh-readonly-queue/**' jobs: - test-services-21: + test-services-22: runs-on: ubuntu-latest steps: @@ -17,7 +17,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node-version: 21 + node-version: 22 env: NPM_CONFIG_ENGINE_STRICT: 'false' diff --git a/README.md b/README.md index 8c6d719a1f6df..fc8e7dbc2b044 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ If you intend on reporting or contributing a fix related to security vulnerabili ## Development 1. Install Node 20 or later. You can use the [package manager][] of your choice. - Tests need to pass in Node 20 and 21. + Tests need to pass in Node 20 and 22. 2. Clone this repository. 3. Run `npm ci` to install the dependencies. 4. Run `npm start` to start the badge server and the frontend dev server.