We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a296b33 commit 064e413Copy full SHA for 064e413
1 file changed
.github/workflows/ci.yaml
@@ -6,6 +6,18 @@ on:
6
jobs:
7
lint-and-test:
8
runs-on: ubuntu-latest
9
+ container: node:lts-jod
10
+ services:
11
+ mongo:
12
+ image: mongo
13
+ ports:
14
+ - 27017:27017
15
+ options: >-
16
+ --health-cmd mongo
17
+ --health-interval 10s
18
+ --health-timeout 5s
19
+ --health-retries 5
20
+ --name mongo
21
steps:
22
- name: Checkout Code
23
uses: actions/checkout@v5
@@ -20,6 +32,9 @@ jobs:
32
run: ./scripts/generate-env.sh
33
- name: Install Dependencies
34
run: pnpm install --frozen-lockfile
35
+ - name: Init Mongo
36
+ run: |
37
+ docker run mongo mongosh --eval "rs.initiate({_id: 'rs0', members: [{_id: 0, host: 'localhost:27017'}]});"
38
- name: Install Playwright
24
39
run: pnpm --filter "@opendatacapture/e2e" exec playwright install --with-deps
25
40
- name: Lint
0 commit comments