Skip to content

Commit

Permalink
ci: add mongodb cluster stage
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed Jul 18, 2024
1 parent 3aeea6b commit 106bf5f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci-mongodb-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
strategy:
matrix:
node-version: [20, 22]
os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]
mongodb: ['6.0', '7.0']
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand All @@ -72,6 +73,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-replica-set: rs0
mongodb-version: ${{ matrix.mongodb }}

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
Expand Down

0 comments on commit 106bf5f

Please sign in to comment.