ci: integrate backend vitest tests into woodpecker pipeline #1
@ -16,12 +16,19 @@ steps:
|
||||
- *pnpm_setup
|
||||
- pnpm install --frozen-lockfile
|
||||
|
||||
test-backend:
|
||||
image: *node_image
|
||||
commands:
|
||||
- *pnpm_setup
|
||||
- cd backend && pnpm test
|
||||
depends_on: [install]
|
||||
|
||||
build-backend:
|
||||
image: *node_image
|
||||
commands:
|
||||
- *pnpm_setup
|
||||
- cd backend && NODE_OPTIONS=--max-old-space-size=4096 pnpm build
|
||||
depends_on: [install]
|
||||
depends_on: [test-backend]
|
||||
|
||||
build-admin:
|
||||
image: *node_image
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user