mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 01:09:39 +02:00
✨ Improve build process
Remove hardcoded yarn version on devenv
This commit is contained in:
parent
f871f88f30
commit
d15f0f1fd0
8 changed files with 12 additions and 16 deletions
|
@ -162,7 +162,6 @@ RUN set -eux; \
|
|||
tar -xf /tmp/nodejs.tar.gz --strip-components=1; \
|
||||
chown -R root /usr/local/nodejs; \
|
||||
corepack enable; \
|
||||
corepack install -g yarn@4.3.1; \
|
||||
npx playwright install --with-deps chromium; \
|
||||
rm -rf /tmp/nodejs.tar.gz;
|
||||
|
||||
|
@ -277,14 +276,6 @@ RUN set -eux; \
|
|||
./emsdk activate latest; \
|
||||
rustup target add wasm32-unknown-emscripten;
|
||||
|
||||
USER penpot
|
||||
|
||||
RUN set -eux; \
|
||||
corepack enable; \
|
||||
corepack install -g yarn@4.3.1;
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
COPY files/nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -8,10 +8,12 @@ source ~/.bashrc
|
|||
|
||||
echo "[start-tmux.sh] Installing node dependencies"
|
||||
pushd ~/penpot/frontend/
|
||||
yarn install
|
||||
corepack up;
|
||||
yarn install;
|
||||
yarn run playwright install --with-deps chromium
|
||||
popd
|
||||
pushd ~/penpot/exporter/
|
||||
corepack up;
|
||||
yarn install
|
||||
yarn run playwright install --with-deps chromium
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue