Skip to content

Commit d7b8cbc

Browse files
committed
Run nginx to proxy Electric in TS tests CI workflow
1 parent a11e839 commit d7b8cbc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ts_tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ jobs:
120120
--health-interval 30s
121121
--health-retries 6
122122
steps:
123-
- uses: actions/checkout@v4
123+
# - uses: docker/setup-compose-action@v1
124124

125125
- uses: pnpm/action-setup@v4
126126

127+
- uses: actions/checkout@v4
128+
127129
- uses: actions/setup-node@v4
128130
with:
129131
node-version-file: '.tool-versions'
@@ -135,6 +137,9 @@ jobs:
135137
- name: Build Node dependencies, if any
136138
run: pnpm -r --filter "$(jq '.name' -r package.json)^..." build
137139

140+
- name: Run nginx to serve as proxy for Electric in caching tests
141+
run: docker compose -f dev/docker-compose.yml up -d nginx
142+
138143
- name: Run tests
139144
run: pnpm run coverage --run
140145

0 commit comments

Comments
 (0)