mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-10 15:14:40 +08:00
updated workflow file
This commit is contained in:
parent
a7b8d543d5
commit
efdf75f484
2 changed files with 5 additions and 2 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -30,7 +30,10 @@ jobs:
|
|||
env:
|
||||
MONGO_INITDB_ROOT_USERNAME: wildduck
|
||||
MONGO_INITDB_ROOT_PASSWORD: wildduck
|
||||
MONGO_INITDB_DATABASE: wildduck-test
|
||||
MONGO_INITDB_DATABASE: 'wildduck-test'
|
||||
command: [--auth]
|
||||
volumes:
|
||||
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo-js.js:ro
|
||||
options: >-
|
||||
--health-cmd mongo
|
||||
--health-interval 10s
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "mongo --eval 'db.dropDatabase()' wildduck-test && redis-cli -n 13 flushdb && npm run runtest",
|
||||
"runtest": "NODE_CONFIG_ONLY=true npm start && NODE_ENV=test grunt",
|
||||
"runtest": "env && NODE_CONFIG_ONLY=true npm start && NODE_ENV=test grunt",
|
||||
"apidoc": "apidoc -i lib/api/ -o docs/api/",
|
||||
"show": "NODE_CONFIG_ONLY=true node server.js",
|
||||
"start": "node server.js"
|
||||
|
|
Loading…
Add table
Reference in a new issue