diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bfa1c067c9..cbb4500719 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,7 +5,7 @@ name: Node.js CI on: push: - branches: [ main, 1.x ] + branches: [main, 1.x] pull_request: workflow_dispatch: @@ -57,7 +57,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v3 @@ -98,15 +98,14 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x, 18.x] services: rippled: image: natenichols/rippled-standalone:latest ports: - - 6006:6006 - options: - --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s + - 6006:6006 + options: --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s steps: - uses: actions/checkout@v3 @@ -156,9 +155,8 @@ jobs: rippled: image: natenichols/rippled-standalone:latest ports: - - 6006:6006 - options: - --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s + - 6006:6006 + options: --health-cmd="wget localhost:6006 || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s steps: - uses: actions/checkout@v3 diff --git a/packages/xrpl/test/connection.test.ts b/packages/xrpl/test/connection.test.ts index 1b3a304647..1917fc2702 100644 --- a/packages/xrpl/test/connection.test.ts +++ b/packages/xrpl/test/connection.test.ts @@ -136,7 +136,7 @@ describe('Connection', function () { createServer().then((server: net.Server) => { const port = (server.address() as net.AddressInfo).port const options = { - proxy: `ws://localhost:${port}`, + proxy: `ws://127.0.0.1:${port}`, authorization: 'authorization', trustedCertificates: ['path/to/pem'], }