Make the devenv runtine initialization yarn independent (#8023)

This commit is contained in:
Andrey Antukh
2026-01-07 11:21:58 +01:00
committed by GitHub
parent eff572d3bb
commit 36732a4bd3
6 changed files with 27 additions and 15 deletions

6
frontend/scripts/setup Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
corepack enable;
corepack install;
yarn install;
yarn playwright install chromium;

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env bash
set -ex
corepack enable;
corepack install;
yarn install;
SCRIPT_DIR=$(dirname $0);
set -ex
$SCRIPT_DIR/setup;
yarn run playwright install chromium --with-deps;
yarn run build:storybook
yarn run test:storybook

View File

@@ -1,8 +1,9 @@
#!/usr/bin/env bash
SCRIPT_DIR=$(dirname $0);
set -ex
corepack enable;
corepack install;
yarn install;
yarn run playwright install chromium --with-deps;
$SCRIPT_DIR/setup;
yarn run test:e2e -x --workers=2 --reporter=list "$@";