Skip to content

Commit 7a1e89c

Browse files
committed
install deps
1 parent 4104fb5 commit 7a1e89c

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
node-version: ${{ matrix.node-version }}
6565
cache: 'npm'
66+
- run: npm ci
6667
- name: Create local config for tests to use the couchdb from the container
6768
run: |
6869
echo 'module.exports = { usersDbConnection: { url: "http://localhost:5984" }};' > config/local.js
@@ -110,6 +111,6 @@ jobs:
110111
uses: actions/upload-artifact@v5
111112
if: ${{ !cancelled() }} # Upload even if the previous step failed
112113
with:
113-
name: test-results # Name of the artifact
114+
name: ui-test-results # Name of the artifact
114115
path: FieldDB/test-e2e/test-results/ # Path to the directory containing reports and traces
115116
retention-days: 30

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
environment:
1818
- COUCHDB_USER=admin
1919
- COUCHDB_PASSWORD=none
20-
auth_app:
20+
app:
2121
depends_on:
2222
- couchdb
2323
build:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"start": "node ./bin/www.js",
7272
"test": "SOURCE_URL=${SOURCE_URL:-https://public:none@corpusdev.example.org} NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --timeout 100000 --recursive test",
7373
"test:debug": "node-debug _mocha test/integration/oauth.js",
74-
"test:deprecated:e2e": "DEBUG=${DEBUG:-lib:user} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 URL=https://localhost:3183 nyc mocha --timeout 25000 test/routes/deprecated-spec.js",
74+
"test:deprecated:e2e": "DEBUG=${DEBUG:-test:deprecated} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 URL=https://localhost:3183 mocha --timeout 25000 test/routes/deprecated-spec.js",
7575
"test:deprecated:coverage": "DEBUG=${DEBUG:-lib:user} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 nyc mocha --timeout 25000 test/routes/deprecated-spec.js",
7676
"test:fielddb": "NODE_ENV=localhost jasmine-node node_modules/fielddb/tests",
7777
"test:production": "ls config/production.js",

0 commit comments

Comments
 (0)