Skip to content

Merge branch 'main' into develop #537

Merge branch 'main' into develop

Merge branch 'main' into develop #537

Triggered via push June 9, 2026 18:47
Status Failure
Total duration 2m 55s
Artifacts

test-swap.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
test
Process completed with exit code 1.
tests/rango.test.ts > Rango Provider > it should return a quote: packages/swap/tests/rango.test.ts#L48
AssertionError: expected undefined to equal 2 - Expected: 2 + Received: undefined ❯ tests/rango.test.ts:48:45
tests/okx.test.ts > OKX Provider > Should execute actual swap transaction successfully: packages/swap/src/providers/okx/index.ts#L499
Error: Failed to get OKX tokens: 400 Bad Request ❯ src/providers/okx/index.ts:499:15 ❯ retryRequest src/providers/okx/index.ts:90:14 ❯ OKX.init src/providers/okx/index.ts:173:26 ❯ tests/okx.test.ts:416:7
tests/okx.test.ts > OKX Provider > Should handle quote error for unsupported tokens: packages/swap/src/providers/okx/index.ts#L499
Error: Failed to get OKX tokens: 400 Bad Request ❯ src/providers/okx/index.ts:499:15 ❯ retryRequest src/providers/okx/index.ts:90:14 ❯ OKX.init src/providers/okx/index.ts:173:26 ❯ tests/okx.test.ts:165:7
tests/okx.test.ts > OKX Provider > Should get swap transaction successfully: packages/swap/tests/okx.test.ts#L141
AssertionError: expected null not to be null ❯ tests/okx.test.ts:141:24
tests/okx.test.ts > OKX Provider > Should get quote successfully: packages/swap/src/providers/okx/index.ts#L499
Error: Failed to get OKX tokens: 400 Bad Request ❯ src/providers/okx/index.ts:499:15 ❯ retryRequest src/providers/okx/index.ts:90:14 ❯ OKX.init src/providers/okx/index.ts:173:26 ❯ tests/okx.test.ts:68:5
tests/changelly.test.ts > Changelly Provider > it should return a quote : packages/swap/tests/changelly.test.ts#L49
AssertionError: expected undefined to equal 1 - Expected: 1 + Received: undefined ❯ tests/changelly.test.ts:49:45
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/