mirror of https://github.com/penpot/penpot.git
✨ Make the devenv runtine initialization yarn independent (#8023)
This commit is contained in:
parent
eff572d3bb
commit
36732a4bd3
|
|
@ -5,6 +5,7 @@
|
||||||
!.yarn/releases
|
!.yarn/releases
|
||||||
!.yarn/sdks
|
!.yarn/sdks
|
||||||
!.yarn/versions
|
!.yarn/versions
|
||||||
|
.pnpm-store
|
||||||
*-init.clj
|
*-init.clj
|
||||||
*.css.json
|
*.css.json
|
||||||
*.jar
|
*.jar
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,10 @@ source ~/.bashrc
|
||||||
|
|
||||||
echo "[start-tmux.sh] Installing node dependencies"
|
echo "[start-tmux.sh] Installing node dependencies"
|
||||||
pushd ~/penpot/frontend/
|
pushd ~/penpot/frontend/
|
||||||
corepack install;
|
./scripts/setup;
|
||||||
yarn install;
|
|
||||||
yarn playwright install chromium
|
|
||||||
popd
|
popd
|
||||||
pushd ~/penpot/exporter/
|
pushd ~/penpot/exporter/
|
||||||
corepack install;
|
./scripts/setup;
|
||||||
yarn install
|
|
||||||
yarn playwright install chromium
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
tmux -2 new-session -d -s penpot
|
tmux -2 new-session -d -s penpot
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e;
|
||||||
|
|
||||||
|
corepack enable;
|
||||||
|
corepack install;
|
||||||
|
yarn install;
|
||||||
|
yarn playwright install chromium
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
corepack enable;
|
||||||
|
corepack install;
|
||||||
|
yarn install;
|
||||||
|
yarn playwright install chromium;
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
SCRIPT_DIR=$(dirname $0);
|
||||||
corepack enable;
|
|
||||||
corepack install;
|
set -ex
|
||||||
yarn install;
|
|
||||||
|
$SCRIPT_DIR/setup;
|
||||||
|
|
||||||
yarn run playwright install chromium --with-deps;
|
|
||||||
yarn run build:storybook
|
yarn run build:storybook
|
||||||
yarn run test:storybook
|
yarn run test:storybook
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
SCRIPT_DIR=$(dirname $0);
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
corepack enable;
|
|
||||||
corepack install;
|
$SCRIPT_DIR/setup;
|
||||||
yarn install;
|
|
||||||
yarn run playwright install chromium --with-deps;
|
|
||||||
yarn run test:e2e -x --workers=2 --reporter=list "$@";
|
yarn run test:e2e -x --workers=2 --reporter=list "$@";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue