Skip to content
Snippets Groups Projects
Commit 784949d8 authored by Kio!'s avatar Kio! 💻
Browse files

who _needs_ testing

parent e055ed0e
No related branches found
No related tags found
No related merge requests found
Pipeline #843 failed with stage
in 25 minutes and 42 seconds
......@@ -2,39 +2,6 @@ stages:
- test
- deploy
testCommit:
stage: test
image: node:iron
services:
- postgres:15
- redis
variables:
POSTGRES_PASSWORD: ci
script:
- 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' --workspace-concurrency=1 test
- pnpm run --filter=backend lint
- pnpm run --filter=frontend eslint
cache:
key: test
policy: pull-push
when: on_success
paths:
- node_modules/
- packages/*/node_modules/
only:
- develop
- merge_requests
- stable
getImageTag:
stage: deploy
image: ubuntu:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment