Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run node 22 in CI, run main tests in node 20 #147

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/new-pandas-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@dgac/nmb2b-client': patch
---

Add node 22 to CI runs
5 changes: 3 additions & 2 deletions .github/workflows/test_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down