feat(ci): update experimental workflow with proposed test flow

This commit is contained in:
zima 2025-07-02 21:31:31 -07:00
parent 74fb111dae
commit 43a3b0e9bd

View file

@ -1,8 +1,27 @@
when:
- event: manual
services:
- name: database
image: postgres:15
environment:
- POSTGRES_PASSWORD=ci
- name: redis
image: redis:latest
steps:
- name: test
image: alpine
- name: Tests
image: node:jod
commands:
- ls -al
- 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