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