diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c099965d..db3c05f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: arango-image: ['arangodb:3.6', 'arangodb:3.7', 'arangodb:3.8', 'arangodb:3.9'] - node-version: [14.x, 16.x] + node-version: [14.x, 16.x, 18.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --tag next diff --git a/.nvmrc b/.nvmrc index b6a7d89c..3c032078 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +18 diff --git a/package-lock.json b/package-lock.json index 880c5ae8..7e777cce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "@types/deep-equal-in-any-order": "^1.0.1", "@types/lodash": "^4.14.184", "@types/mocha": "^9.1.1", - "@types/node": "^16.11.43", + "@types/node": "^18.11.18", "@types/pluralize": "0.0.29", "@types/uuid": "^8.3.4", "ajv-cli": "^5.0.0", @@ -1275,9 +1275,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.11.56", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.56.tgz", - "integrity": "sha512-aFcUkv7EddxxOa/9f74DINReQ/celqH8DiB3fRYgVDM2Xm5QJL8sl80QKuAnGvwAsMn+H3IFA6WCrQh1CY7m1A==" + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.0", @@ -8164,9 +8164,9 @@ "dev": true }, "@types/node": { - "version": "16.11.56", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.56.tgz", - "integrity": "sha512-aFcUkv7EddxxOa/9f74DINReQ/celqH8DiB3fRYgVDM2Xm5QJL8sl80QKuAnGvwAsMn+H3IFA6WCrQh1CY7m1A==" + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" }, "@types/normalize-package-data": { "version": "2.4.0", diff --git a/package.json b/package.json index 0b0bdf9a..8f7dc3e8 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@types/deep-equal-in-any-order": "^1.0.1", "@types/lodash": "^4.14.184", "@types/mocha": "^9.1.1", - "@types/node": "^16.11.43", + "@types/node": "^18.11.18", "@types/pluralize": "0.0.29", "@types/uuid": "^8.3.4", "ajv-cli": "^5.0.0", diff --git a/spec/regression/initialization.ts b/spec/regression/initialization.ts index 7666ca1c..0714b972 100644 --- a/spec/regression/initialization.ts +++ b/spec/regression/initialization.ts @@ -6,7 +6,8 @@ import stripJsonComments from 'strip-json-comments'; import { ArangoDBConfig } from '../../src/database/arangodb'; const DATABASE_NAME = 'cruddl-test-temp'; -const DATABASE_URL = 'http://root:@localhost:8529'; +// arangodb only listens on ipv4, but localhost may resolve to ::1, so explicitly state 127.0.0.1 +const DATABASE_URL = 'http://root:@127.0.0.1:8529'; export async function createTempDatabase(): Promise { const systemDatabase = new Database({