Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ jobs:
--health-timeout 5s
--health-retries 5

redis:
image: redis:7-alpine
env:
REDIS_PASSWORD: ""
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

strategy:
matrix:
node-version: [20.x]
Expand Down Expand Up @@ -84,6 +96,11 @@ jobs:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: testdb
MERCHANT_PUBLIC_KEY: ${{ env.MERCHANT_PUBLIC_KEY }}
REDIS_HOST: localhost
REDIS_PORT: 6379
REDIS_PASSWORD: ""
REDIS_DB: 1
JWT_SECRET: e2e-test-secret
run: npm run test:e2e

- name: Build
Expand Down
214 changes: 213 additions & 1 deletion backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.1.1",
"@nestjs/throttler": "^6.5.0",
"@nestjs/typeorm": "^11.0.0",
"@prisma/adapter-pg": "^7.4.2",
"@prisma/client": "^7.4.2",
Expand All @@ -48,13 +49,16 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"cross-env": "^10.1.0",
"ioredis": "^5.10.0",
"joi": "^17.13.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pg": "^8.19.0",
"redis": "^5.11.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"sqlite3": "^5.1.7",
"throttle": "^1.0.3",
"uuid": "^11.1.0"
},
"devDependencies": {
Expand Down
Loading
Loading