We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7192e57 commit c68fbc1Copy full SHA for c68fbc1
1 file changed
.github/workflows/ci.yaml
@@ -13,6 +13,12 @@ jobs:
13
ports:
14
- 27017:27017
15
options: >-
16
+ --health-cmd echo "try { rs.status() } catch (err) { rs.initiate({_id:'rs0',members:[{_id:0,host:'localhost:27017'}]}) }" | mongosh --port 27017 --quiet
17
+ --health-interval 5s
18
+ --health-retries 30
19
+ --health-start-interval 1s
20
+ --health-start-period 0s
21
+ --health-timeout 30s
22
--name mongo
23
steps:
24
- name: Checkout Code
@@ -28,9 +34,6 @@ jobs:
28
34
run: ./scripts/generate-env.sh
29
35
- name: Install Dependencies
30
36
run: pnpm install --frozen-lockfile
31
- - name: Init Mongo
32
- run: |
33
- docker run mongo mongosh --eval "rs.initiate({_id: 'rs0', members: [{_id: 0, host: 'localhost:27017'}]});"
37
- name: Install Playwright
38
run: pnpm --filter "@opendatacapture/e2e" exec playwright install --with-deps
39
- name: Lint
0 commit comments