From 61bf748c2d50e968d429209f38d7a079a2f75175 Mon Sep 17 00:00:00 2001 From: Benjamin Beret Date: Thu, 19 Dec 2024 15:14:11 +0100 Subject: [PATCH] Update workflows to run main tests in node 22 (#182) --- .changeset/pretty-pillows-warn.md | 5 +++++ .github/workflows/test_publish.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/pretty-pillows-warn.md diff --git a/.changeset/pretty-pillows-warn.md b/.changeset/pretty-pillows-warn.md new file mode 100644 index 0000000..fd13c25 --- /dev/null +++ b/.changeset/pretty-pillows-warn.md @@ -0,0 +1,5 @@ +--- +'@dgac/nmb2b-client': patch +--- + +Run main tests in node 22 diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index 1e12ab2..3d63717 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -89,8 +89,8 @@ jobs: runs-on: ubuntu-latest env: - # 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' || '' }} + # This will enable real b2b connections on node 22 and if secrets.B2B_API_KEY_ID is set + REAL_B2B_CONNECTIONS: ${{ matrix.node-version == '22' && secrets.B2B_API_KEY_ID && '1' || '' }} strategy: matrix: