Skip to content

Commit d498bc0

Browse files
author
manfredsteger
committed
Saved progress at the end of the loop
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1117a91e-7ac6-4005-bde2-487c64d5789f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b7259a76-dc9f-453e-b413-d504b5ede882 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/afc5b6d1-cfc6-4564-802f-661c3d73f96b/1117a91e-7ac6-4005-bde2-487c64d5789f/OkML8h0
1 parent da66484 commit d498bc0

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ variables:
6262
- cp -r /tmp/polly-src/. .
6363
- rm -rf /tmp/polly-src
6464

65-
# Reusable script for npm install with cleanup (fixes error -116)
65+
# Reusable script for npm install with cleanup (fixes error -116 and TAR_ENTRY_ERROR)
6666
.npm_install: &npm_install
6767
- rm -rf node_modules 2>/dev/null || true
68+
- npm cache clean --force 2>/dev/null || true
6869
- rm -rf /tmp/.npm 2>/dev/null || true
6970
- mkdir -p /tmp/.npm
70-
- npm ci --prefer-offline --no-audit
71+
- npm ci --no-audit --no-fund
7172

7273
# Reusable script for waiting until PostgreSQL is ready (fixes flaky tests)
7374
.wait_for_postgres: &wait_for_postgres
@@ -123,6 +124,7 @@ build:
123124
typescript-check:
124125
stage: test
125126
image: node:${NODE_VERSION}
127+
dependencies: []
126128
retry:
127129
max: 2
128130
when: unknown_failure
@@ -137,6 +139,7 @@ typescript-check:
137139
validate-translations:
138140
stage: test
139141
image: node:${NODE_VERSION}
142+
dependencies: []
140143
retry:
141144
max: 2
142145
when: unknown_failure
@@ -150,6 +153,7 @@ validate-translations:
150153
unit-tests:
151154
stage: test
152155
image: node:${NODE_VERSION}
156+
dependencies: []
153157
retry:
154158
max: 2
155159
when: unknown_failure
@@ -179,6 +183,7 @@ unit-tests:
179183
integration-tests:
180184
stage: test
181185
image: node:${NODE_VERSION}
186+
dependencies: []
182187
retry:
183188
max: 2
184189
when: unknown_failure
@@ -204,6 +209,7 @@ integration-tests:
204209
api-tests:
205210
stage: test
206211
image: node:${NODE_VERSION}
212+
dependencies: []
207213
retry:
208214
max: 2
209215
when: unknown_failure
@@ -229,6 +235,7 @@ api-tests:
229235
auth-tests:
230236
stage: test
231237
image: node:${NODE_VERSION}
238+
dependencies: []
232239
retry:
233240
max: 2
234241
when: unknown_failure
@@ -254,6 +261,7 @@ auth-tests:
254261
poll-tests:
255262
stage: test
256263
image: node:${NODE_VERSION}
264+
dependencies: []
257265
retry:
258266
max: 2
259267
when: unknown_failure
@@ -279,6 +287,7 @@ poll-tests:
279287
e2e-tests:
280288
stage: test
281289
image: mcr.microsoft.com/playwright:v1.52.0-noble
290+
dependencies: []
282291
retry:
283292
max: 2
284293
when: unknown_failure
@@ -303,9 +312,10 @@ e2e-tests:
303312
npm_config_cache: "/tmp/.npm"
304313
script:
305314
- rm -rf node_modules 2>/dev/null || true
315+
- npm cache clean --force 2>/dev/null || true
306316
- rm -rf /tmp/.npm 2>/dev/null || true
307317
- mkdir -p /tmp/.npm
308-
- npm ci --prefer-offline --no-audit
318+
- npm ci --no-audit --no-fund
309319
# Wait for PostgreSQL to be ready before db:push
310320
- *wait_for_postgres
311321
- npm run db:push
@@ -324,6 +334,7 @@ e2e-tests:
324334
security-audit:
325335
stage: security
326336
image: node:${NODE_VERSION}
337+
dependencies: []
327338
retry:
328339
max: 2
329340
when: unknown_failure

0 commit comments

Comments
 (0)