mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-05 03:26:58 +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:
|
||||
- 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
|
||||
|
|
Loading…
Add table
Reference in a new issue