From d60ccafd56427c7a861964376753d0b8cda25bf1 Mon Sep 17 00:00:00 2001 From: Benjamin Beret Date: Thu, 11 Jul 2024 18:09:39 +0200 Subject: [PATCH] Run node 22 in CI, run main tests in node 20 --- .changeset/new-pandas-pull.md | 5 +++++ .github/workflows/test_publish.yml | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/new-pandas-pull.md diff --git a/.changeset/new-pandas-pull.md b/.changeset/new-pandas-pull.md new file mode 100644 index 0000000..68c370f --- /dev/null +++ b/.changeset/new-pandas-pull.md @@ -0,0 +1,5 @@ +--- +'@dgac/nmb2b-client': patch +--- + +Add node 22 to CI runs diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index aa37f42..1e12ab2 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -89,14 +89,15 @@ jobs: runs-on: ubuntu-latest env: - # This will enable real b2b connections on node 16 and if secrets.B2B_API_KEY_ID is set - REAL_B2B_CONNECTIONS: ${{ matrix.node-version == '18' && secrets.B2B_API_KEY_ID && '1' || '' }} + # This will enable real b2b connections on node 20 and if secrets.B2B_API_KEY_ID is set + REAL_B2B_CONNECTIONS: ${{ matrix.node-version == '20' && secrets.B2B_API_KEY_ID && '1' || '' }} strategy: matrix: node-version: - 18 - 20 + - 22 steps: - uses: actions/checkout@v4