CI: smtp server now started as a command
This commit is contained in:
parent
8f0c4c093b
commit
46098ec85b
2 changed files with 22 additions and 16 deletions
19
.github/workflows/coverage.yml
vendored
19
.github/workflows/coverage.yml
vendored
|
@ -36,14 +36,14 @@ jobs:
|
|||
image: mcaptcha/cache
|
||||
ports:
|
||||
- 6379:6379
|
||||
smtp:
|
||||
image: maildev/maildev
|
||||
ports:
|
||||
- 10025:1025
|
||||
- 1080:1080
|
||||
env:
|
||||
MAILDEV_INCOMING_USER: admin
|
||||
MAILDEV_INCOMING_PASS: password
|
||||
# smtp:
|
||||
# image: maildev/maildev
|
||||
# ports:
|
||||
# - 10025:1025
|
||||
# - 1080:1080
|
||||
# env:
|
||||
# MAILDEV_INCOMING_USER: admin
|
||||
# MAILDEV_INCOMING_PASS: password
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -61,6 +61,9 @@ jobs:
|
|||
with:
|
||||
node-version: '14.x'
|
||||
|
||||
- name: start smtp server
|
||||
run: docker run -d -p 1080:1080 -p 10025:1025 maildev/maildev --incoming-user admin --incoming-pass password
|
||||
|
||||
- name: Install JavaScript Dependencies
|
||||
run: yarn install
|
||||
|
||||
|
|
19
.github/workflows/linux.yml
vendored
19
.github/workflows/linux.yml
vendored
|
@ -38,14 +38,14 @@ jobs:
|
|||
image: mcaptcha/cache
|
||||
ports:
|
||||
- 6379:6379
|
||||
smtp:
|
||||
image: maildev/maildev
|
||||
ports:
|
||||
- 10025:1025
|
||||
- 1080:1080
|
||||
env:
|
||||
MAILDEV_INCOMING_USER: admin
|
||||
MAILDEV_INCOMING_PASS: password
|
||||
# smtp:
|
||||
# image: maildev/maildev
|
||||
# ports:
|
||||
# - 10025:1025
|
||||
# - 1080:1080
|
||||
# env:
|
||||
# MAILDEV_INCOMING_USER: admin
|
||||
# MAILDEV_INCOMING_PASS: password
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -63,6 +63,9 @@ jobs:
|
|||
with:
|
||||
node-version: '14.x'
|
||||
|
||||
- name: start smtp server
|
||||
run: docker run -d -p 1080:1080 -p 10025:1025 maildev/maildev --incoming-user admin --incoming-pass password
|
||||
|
||||
- name: Install JavaScript Dependencies
|
||||
run: yarn install
|
||||
|
||||
|
|
Loading…
Reference in a new issue