Commit Graph
16 Commits
Author SHA1 Message Date
tom goriunovandGitHub 773a05949d Syncronize dev ENVs presets (#2093)
* base functionality

* update presets

* update docs
2024-07-12 18:27:20 +02:00
tom 55e020e564 disable next.js turbo mode 2024-06-21 13:15:14 +02:00
tom goriunovandGitHub 811ba0a437 Move generated assets into separate folder inside the public folder (#1930)
* add build-time ENV to explicitly enable Open Telemetry

* generate svg-sprite before next build

* move envs.js to assets folder

* move favicon bundle to assets folder

* move external configs to configs folder

* fix envs validator
2024-05-20 13:17:33 +02:00
tom 88c17c0c8a [skip ci] fix dev script 2024-05-16 20:19:44 +02:00
tom goriunovandGitHub b8eef4b1dc bump Next.js version to v14.2.3 (#1885) 2024-05-03 18:48:06 +02:00
tom goriunovandGitHub 57e4b6dc3c Playwright tests refactoring, pt.1 (#1744)
* abort all requests for external resources and single mock for text ad

* render and mockApiResponse fixtures

* move fixtures into separate files

* rewrite Blocks test

* refactor mockApiResponse signature

* test with auth

* rewrite test with other API domains

* fix test

* separate script for installing deps in pw docker
2024-04-01 14:48:30 +02:00
tom goriunovandGitHub de3a2d9170 Run only affected test in PRs (#1565)
* test change

* script for finding affected test suites

* workflow integration

* workflow debug

* special directories cases

* test

* detect changes in npm modules

* add vscode task and fix ci

* fix lock file

* try to fix jobs deps

* add always() function to the job

* i am stupid

* clean up

* fix for case when file is empty
2024-02-12 17:31:35 +04:00
tom d93fdba02d add sprite to pw tests and migrate entities components 2023-12-20 11:30:24 +04:00
tom 4e8577b4d7 build sprite script and common component 2023-12-19 19:54:16 +04:00
tom c9695de516 [skip ci] Refactor local development setup and scripts 2023-12-07 17:33:22 +04:00
tom 17da687b54 [skip ci] add tag to local docker image 2023-10-30 10:59:34 -03:00
tom b1b2e17e33 fix envs generator for pw tests 2023-10-13 17:49:52 -03:00
tom goriunovandGitHub 43f1af2c25 workaround for ENV replacement script (#1212)
* base implementation of client script with envs values

* better ENVs setup for pw tests

* fix tests
2023-09-29 10:45:23 -03:00
tom goriunovandGitHub cc21eb144e validate ENV values at run-time (#1184)
* migrate from zod to yul schema

* describe full schema

* adjust docker integration

* make script for downloading app assets

* change links to downloaded assets in the config code

* docker integration

* validate external json configs

* better schemas and ts integration

* update docs and dev script

* gh workflow

* try to fail gh workflow

* install global deps and adjust script for gh workflow

* refinements

* make workflow to pass

* 🙈

* fix tests
2023-09-19 16:19:27 -03:00
tom c3fab68dd5 dev script 2023-09-06 11:17:26 -03:00
tom goriunovandGitHub 7150f93435 image build process improvements (#1045)
* auto-generate .env.production file

* env placeholders congruity check

* refactor yarn dev and docker tasks

* [skip ci] pass git tag and commit sha to dev app

* [skip ci] clean up
2023-08-02 13:32:53 -04:00