Skip to content

Commit abc2327

Browse files
committed
feat: mailpit ci
1 parent 5d72ef2 commit abc2327

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
--health-interval=10s
3333
--health-timeout=5s
3434
--health-retries=5
35+
mailpit:
36+
image: axllent/mailpit:latest
37+
ports:
38+
- 1025:1025
39+
- 8025:8025
3540

3641
steps:
3742
- name: Checkout repository

apps/backend/.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ S3_BUCKET=backend
2020
S3_ENDPOINT=http://localhost:9000
2121
RESEND_API_KEY=test_1234567890abcdefg
2222
MAILER=smtp
23-
SMTP_HOST=localhost
23+
SMTP_HOST=127.0.0.1
2424
SMTP_PORT=1025
2525
STRIPE_KEY=your-stripe-key
2626
STRIPE_SECRET=your-stripe-secret

apps/backend/app/auth/tests/functional/auth.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ test.group('Auth', (group) => {
1616
}
1717

1818
const response = await client.post('/register').json(payload)
19+
console.log(response.body())
1920

2021
response.assertStatus(201)
2122
assert.exists(response.body().user)

0 commit comments

Comments
 (0)