2023-02-12 00:07:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2024-06-12 02:08:42 +00:00
|
|
|
sudo chown node node_modules
|
2024-10-12 02:52:42 +00:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
|
2024-06-12 02:08:42 +00:00
|
|
|
git config --global --add safe.directory /workspace
|
2023-02-12 00:07:56 +00:00
|
|
|
git submodule update --init
|
2024-05-13 02:19:19 +00:00
|
|
|
corepack install
|
|
|
|
corepack enable
|
2023-03-05 03:48:27 +00:00
|
|
|
pnpm config set store-dir /home/node/.local/share/pnpm/store
|
2023-02-12 00:07:56 +00:00
|
|
|
pnpm install --frozen-lockfile
|
|
|
|
cp .devcontainer/devcontainer.yml .config/default.yml
|
|
|
|
pnpm build
|
|
|
|
pnpm migrate
|
2024-10-12 02:52:42 +00:00
|
|
|
pnpm exec cypress install
|