Skip to content

Commit

Permalink
feat: implement database factory
Browse files Browse the repository at this point in the history
  • Loading branch information
simplymichael committed Jun 19, 2024
1 parent 6bb3e6b commit ceb6b26
Show file tree
Hide file tree
Showing 9 changed files with 1,209 additions and 40 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/run-coverage-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ jobs:
environment: ['development', 'staging', 'production']
node-version: [18.x, 20.x]
redis-version: ['4.0', '5.0', '6.0', '6.2', '7.x', 'latest']
mongodb-version: ['5.0', '6.0']
#mysql-version: ['8.3']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# See redis enablement at: https://github.com/marketplace/actions/actions-setup-redis#usage
# See mongodb enablement at: https://github.com/marketplace/actions/mongodb-in-github-actions#usage
# See mysql enablement at: https://github.com/marketplace/actions/setup-mysql#usage

steps:
- name: Git checkout
Expand All @@ -39,6 +43,17 @@ jobs:
with:
redis-version: ${{ matrix.redis-version }}

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.10.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-port: 27017

#- name: Start MySQL
# uses: mirromutth/mysql-action@v1.1
# with:
# mysql version: ${{ matrix.mysql-version }}

- name: 'Create env file'
run: |
set -m
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ node_modules
.markdown-viewer
.logs
.log
.sqlite
Loading

0 comments on commit ceb6b26

Please sign in to comment.