Skip to content

Commit 3ff7d02

Browse files
committed
update ci
1 parent 8dfaf16 commit 3ff7d02

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
run: |
3535
./scripts/generate-env.sh
3636
sed -i 's/^MONGO_URI=.*/MONGO_URI=mongodb:\/\/mongo:27017/' .env
37+
- name: Setup Mongo
38+
run: |
39+
docker exec mongo mongosh --eval "rs.initiate({_id: 'rs0', members: [{_id: 0, host: 'localhost:27017'}]});"
3740
- name: Configure Git
3841
run: |
3942
# necessary for the git commands used for release info

0 commit comments

Comments
 (0)