mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
refactor: merge CI configs
This commit is contained in:
parent
945d43c5e8
commit
c6a633e1f0
4 changed files with 3 additions and 31 deletions
|
@ -1,26 +1,21 @@
|
|||
pipeline:
|
||||
migrate:
|
||||
testCommit:
|
||||
image: node:latest
|
||||
commands:
|
||||
- cp .config/ci.yml .config/default.yml
|
||||
- corepack enable
|
||||
- yarn set version berry
|
||||
- yarn install --immutable
|
||||
- yarn build
|
||||
- yarn run build
|
||||
- yarn migrate
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:${DATABASE}
|
||||
image: postgres:15
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=test
|
||||
redis:
|
||||
image: redis
|
||||
|
||||
matrix:
|
||||
DATABASE:
|
||||
- 12
|
||||
- latest
|
||||
|
||||
branches:
|
||||
include: [ main, develop, feature/* ]
|
|
@ -1,16 +0,0 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: node:${NODE_VERSION}
|
||||
commands:
|
||||
- corepack enable
|
||||
- yarn set version berry
|
||||
- yarn install --immutable
|
||||
- yarn build
|
||||
|
||||
matrix:
|
||||
NODE_VERSION:
|
||||
- 18.12.1
|
||||
- latest
|
||||
|
||||
branches:
|
||||
include: [ main, develop, feature/* ]
|
|
@ -1,7 +0,0 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: node:latest
|
||||
commands:
|
||||
- corepack enable
|
||||
- yarn set version berry
|
||||
- yarn install --immutable
|
Loading…
Reference in a new issue