Skip to content

Commit

Permalink
Add mongodb to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte-Hansen committed Nov 19, 2024
1 parent 39787ed commit cc5bed2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
test:
runs-on: ubuntu-latest
needs: [build]
env:
REDIS_HOST: redis
REDIS_PORT: '6379'
MONGO_URI: 'mongodb://mongo/collab_db'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -77,6 +81,10 @@ jobs:
uses: supercharge/[email protected]
with:
redis-version: 7
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '8.0'
- name: Start application
run: |
npm run start &
Expand Down

0 comments on commit cc5bed2

Please sign in to comment.