1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2025-01-24 02:34:00 +09:00

chore: fix tests in devcontainer

This commit is contained in:
Kitty Cat 2024-09-30 10:19:13 -04:00
parent 4dee353587
commit 2f8bab656c
No known key found for this signature in database
GPG Key ID: 5DD88428CF598F42
2 changed files with 3 additions and 2 deletions

View File

@ -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!

View File

@ -4,7 +4,7 @@ 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
@ -12,6 +12,7 @@ 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