mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 18:58:54 +08:00
updated workflow file
This commit is contained in:
parent
8a16aeaf71
commit
019a4222be
2 changed files with 3 additions and 3 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -45,8 +45,7 @@ jobs:
|
|||
node-version: ${{ matrix.node }}
|
||||
- run: npm install
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
run: npm runtest
|
||||
env:
|
||||
APPCONF_dbs_redis: redis://redis:6379/1
|
||||
APPCONF_dbs_mongodb: mongodb://wildduck:wildduck@mongo:27017/wildduck-test
|
||||
NODE_CONFIG_ONLY: 'true'
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "mongo --eval 'db.dropDatabase()' wildduck-test && redis-cli -n 13 flushdb && NODE_ENV=test grunt",
|
||||
"test": "mongo --eval 'db.dropDatabase()' wildduck-test && redis-cli -n 13 flushdb && npm run runtest",
|
||||
"runtest": "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…
Reference in a new issue