Skip to content

Commit

Permalink
chore: fix tests in devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
KiTTYsh committed Oct 3, 2024
1 parent 353f472 commit db01271
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#β”€β”€β”€β”˜ URL └─────────────────────────────────────────────────────

# Final accessible URL seen by a user.
url: http://127.0.0.1:3000/
url: http://cherrypick.local/

# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE
# URL SETTINGS AFTER THAT!
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ set -xe

sudo chown node node_modules
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
sudo apt-get -y install ffmpeg libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
git config --global --add safe.directory /workspace
git submodule update --init
corepack install
corepack enable
pnpm config set store-dir /home/node/.local/share/pnpm/store
pnpm install --frozen-lockfile
cp .devcontainer/devcontainer.yml .config/default.yml
[ ! -L .config/test.yml ] && ln -s default.yml .config/test.yml
pnpm build
pnpm migrate
pnpm exec cypress install

0 comments on commit db01271

Please sign in to comment.