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
|
image: mcaptcha/cache
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
smtp:
|
# smtp:
|
||||||
image: maildev/maildev
|
# image: maildev/maildev
|
||||||
ports:
|
# ports:
|
||||||
- 10025:1025
|
# - 10025:1025
|
||||||
- 1080:1080
|
# - 1080:1080
|
||||||
env:
|
# env:
|
||||||
MAILDEV_INCOMING_USER: admin
|
# MAILDEV_INCOMING_USER: admin
|
||||||
MAILDEV_INCOMING_PASS: password
|
# MAILDEV_INCOMING_PASS: password
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -61,6 +61,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
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
|
- name: Install JavaScript Dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
|
|
19
.github/workflows/linux.yml
vendored
19
.github/workflows/linux.yml
vendored
|
@ -38,14 +38,14 @@ jobs:
|
||||||
image: mcaptcha/cache
|
image: mcaptcha/cache
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
smtp:
|
# smtp:
|
||||||
image: maildev/maildev
|
# image: maildev/maildev
|
||||||
ports:
|
# ports:
|
||||||
- 10025:1025
|
# - 10025:1025
|
||||||
- 1080:1080
|
# - 1080:1080
|
||||||
env:
|
# env:
|
||||||
MAILDEV_INCOMING_USER: admin
|
# MAILDEV_INCOMING_USER: admin
|
||||||
MAILDEV_INCOMING_PASS: password
|
# MAILDEV_INCOMING_PASS: password
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -63,6 +63,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
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
|
- name: Install JavaScript Dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue