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/.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' 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 ",