mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-20 10:03:38 +00:00
feat(ci): update experimental workflow with proposed test flow
This commit is contained in:
parent
74fb111dae
commit
43a3b0e9bd
1 changed files with 22 additions and 3 deletions
|
@ -1,8 +1,27 @@
|
||||||
when:
|
when:
|
||||||
- event: manual
|
- event: manual
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: database
|
||||||
|
image: postgres:15
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=ci
|
||||||
|
- name: redis
|
||||||
|
image: redis:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: Tests
|
||||||
image: alpine
|
image: node:jod
|
||||||
commands:
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue