mirror of
https://example.com
synced 2024-11-23 09:56:39 +09:00
f47832b1b4
Reasons: 1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`. 2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!! 3. Resolves #9412 Co-authored-by: ThatOneCalculator <kainoa@t1c.dev> Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
20 lines
381 B
YAML
20 lines
381 B
YAML
pipeline:
|
|
testCommit:
|
|
image: node:latest
|
|
commands:
|
|
- cp .config/ci.yml .config/default.yml
|
|
- npm i -g pnpm
|
|
- pnpm i --frozen-lockfile
|
|
- pnpm run build
|
|
- pnpm run migrate
|
|
|
|
services:
|
|
database:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_PASSWORD=test
|
|
redis:
|
|
image: redis
|
|
|
|
branches:
|
|
include: [ main, develop, feature/* ]
|