mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 09:36:56 +00:00
19 lines
632 B
Bash
Executable file
19 lines
632 B
Bash
Executable file
#!/bin/bash
|
|
# Do not run this on your local machine. Instead, execute setup-tests.sh and it
|
|
# will automatically create, test, and tear down the testing environment.
|
|
|
|
set -e
|
|
|
|
cd /host/
|
|
apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg
|
|
cp .config/ci.yml .config/default.yml
|
|
cp .config/ci.yml .config/test.yml
|
|
corepack enable
|
|
corepack prepare pnpm@latest --activate
|
|
git submodule update --init
|
|
pnpm install --frozen-lockfile
|
|
pnpm run build
|
|
pnpm run migrate
|
|
pnpm run --filter='!megalodon' test
|
|
pnpm run --filter=backend --filter=misskey-js lint
|
|
pnpm run --filter=frontend --filter=frontend-embed eslint
|