ci: add Woodpecker pipeline with Valkey service for queue tests
This commit is contained in:
@@ -5,26 +5,31 @@ steps:
|
|||||||
- corepack enable
|
- corepack enable
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: lint
|
|
||||||
image: node:22-alpine
|
|
||||||
commands:
|
|
||||||
- pnpm turbo lint
|
|
||||||
|
|
||||||
- name: typecheck
|
- name: typecheck
|
||||||
image: node:22-alpine
|
image: node:22-alpine
|
||||||
|
depends_on: [install]
|
||||||
commands:
|
commands:
|
||||||
- pnpm turbo typecheck
|
- pnpm turbo typecheck
|
||||||
|
|
||||||
|
- name: lint
|
||||||
|
image: node:22-alpine
|
||||||
|
depends_on: [install]
|
||||||
|
commands:
|
||||||
|
- pnpm turbo lint
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:22-alpine
|
image: node:22-alpine
|
||||||
|
depends_on: [typecheck]
|
||||||
commands:
|
commands:
|
||||||
- pnpm turbo build
|
- pnpm turbo build
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: node:22-alpine
|
image: node:22-alpine
|
||||||
|
depends_on: [build]
|
||||||
commands:
|
commands:
|
||||||
- pnpm turbo test
|
- pnpm turbo test
|
||||||
services:
|
services:
|
||||||
- name: valkey
|
- name: valkey
|
||||||
image: valkey/valkey:8-alpine
|
image: valkey/valkey:8-alpine
|
||||||
ports: ["6379:6379"]
|
environment:
|
||||||
|
- ALLOW_EMPTY_PASSWORD=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user