Erik Michelson
15f6e12bee
fix(ci): cache cypress binary correctly
...
It seems cypress installs its own binary under a different path than
the path where it later looks for it for running the tests. This
change adds proper versioned caching for the binary to avoid re-
downloads and configures the binary path accordingly.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-04-20 19:55:35 +02:00
Erik Michelson
420c711155
fix(turborepo): passthrough HD_* env vars by config option
...
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled
It seems there's a bug in turborepo which results in turbo
not passing through arbitrary environment variables despite
--env-mode=loose being set. This config option resolves the
problem by passing through all HedgeDoc environment
variables prefixed by `HD_`. This somewhat also enhances
stability and reproducability of builds since other env
vars wouldn't interfere anymore.
The additional variable CADDY_HOST is required to make
overriding the listening port in our Caddyfile work.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-02-14 20:59:05 +01:00
Philip Molares
09641c14f6
fix: migrate turbo.json
...
turbo v2 changed the turbo.json file somewhat. This PR address this.
See: https://turbo.build/repo/docs/crafting-your-repository/upgrading
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-08-31 12:53:53 +02:00
Tilman Vatteroth
9bef045e12
fix(turbo): deduplicate test task config and add coverage directory
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-09 09:40:06 +02:00
Tilman Vatteroth
4cb332622a
feat(frontend): add build script
...
The build script prepares the package for a production build, builds the app, places every all needed files in a dist directory and cleans it.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-27 12:42:40 +02:00
Tilman Vatteroth
ffe48f2fd2
fix(markdown-it-plugins): migrate imported files
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 15:30:30 +02:00
Tilman Vatteroth
1d90013344
fix(html-to-react): migrate imported files
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 15:07:49 +02:00
Philip Molares
366515e760
ci: add workflow to lint documentation
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-09 20:07:07 +02:00
Tilman Vatteroth
14f291f780
chore(turbo): add dependency tasks test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-08 13:13:55 +02:00
Tilman Vatteroth
4e497089f2
feat: add turbo task for "start"
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-06 10:44:48 +02:00
Tilman Vatteroth
5443510a79
feat: add turbo task for test without coverage
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
6f81c5efff
fix(turbo): ignore webpack cache
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-31 12:38:47 +02:00
Erik Michelson
305b6f5910
misc: add turbo monorepo util
...
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00