From ac6d48c3c1e55e4d4404d05baab16db419a63dd3 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 4 Dec 2025 10:17:10 -0500 Subject: [PATCH 1/5] update github actions v6 --- .github/workflows/node.js.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 49b44435..7d39d931 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,13 +16,13 @@ jobs: strategy: matrix: - node-version: [12.x, 16.x] + node-version: [16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'npm' From d0ec8871f0283ce88bd5c7ba157d1594cad7d229 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 4 Dec 2025 10:19:48 -0500 Subject: [PATCH 2/5] update to docker compose --- .github/workflows/docker-image.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 60a5a05d..e3d31362 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,6 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Build the Docker image run: "echo 'module.exports = { usersDbConnection: { url: \"http://localhost:5984\" }};' > config/local.js && docker build . --file Dockerfile --tag fielddb-auth:$(date +%s)" diff --git a/package.json b/package.json index 65111e6a..57b8a51f 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ }, "scripts": { "docker:build": "docker build -t fielddb-auth .", - "docker:test": "curl https://raw.githubusercontent.com/FieldDB/CorpusWebService/85f0b5a8351640ddb86059fb3c9519af12222b6c/Dockerfile-couchdb -o Dockerfile-couchdb; mkdir etc; curl https://raw.githubusercontent.com/FieldDB/CorpusWebService/main/etc/local.ini -o etc/local.ini && echo 'module.exports = { usersDbConnection: { url: \"http://localhost:5984\" }};' > config/local.js&& docker-compose up -d && docker-compose logs && npm run setup && npm run test:deprecated", + "docker:test": "curl https://raw.githubusercontent.com/FieldDB/CorpusWebService/85f0b5a8351640ddb86059fb3c9519af12222b6c/Dockerfile-couchdb -o Dockerfile-couchdb; mkdir etc; curl https://raw.githubusercontent.com/FieldDB/CorpusWebService/main/etc/local.ini -o etc/local.ini && echo 'module.exports = { usersDbConnection: { url: \"http://localhost:5984\" }};' > config/local.js&& docker compose up -d && docker compose logs && npm run setup && npm run test:deprecated", "coverage": "NODE_ENV=test BUNYAN_LOG_LEVEL=FATAL NODE_TLS_REJECT_UNAUTHORIZED=0 nyc npm test", "coveralls": "cat ./coverage/lcov.info | coveralls", "lint": "eslint ", From d642f02d8b7d6170cbafa3a2df01462d31d3fa21 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 4 Dec 2025 11:17:30 -0500 Subject: [PATCH 3/5] reduce diff --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7d39d931..b81c6b27 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [12.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: From 3da16a9014b82f5d97033875e18995fac9b9dfb7 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 4 Dec 2025 11:19:38 -0500 Subject: [PATCH 4/5] try current node lts --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b81c6b27..811838f3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [12.x, 16.x] + node-version: [16.x, 24.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: From b4ea8440951f01362889646650d4a81526eaa940 Mon Sep 17 00:00:00 2001 From: cesine Date: Thu, 4 Dec 2025 11:20:36 -0500 Subject: [PATCH 5/5] Utils.isRegExp is not a function --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 811838f3..7d39d931 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x, 24.x] + node-version: [16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: