ci: run backend tests in woodpecker pipeline
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
This commit is contained in:
parent
b9c48dfd63
commit
ad94a99a50
@ -16,12 +16,19 @@ steps:
|
|||||||
- *pnpm_setup
|
- *pnpm_setup
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
test-backend:
|
||||||
|
image: *node_image
|
||||||
|
commands:
|
||||||
|
- *pnpm_setup
|
||||||
|
- cd backend && pnpm test
|
||||||
|
depends_on: [install]
|
||||||
|
|
||||||
build-backend:
|
build-backend:
|
||||||
image: *node_image
|
image: *node_image
|
||||||
commands:
|
commands:
|
||||||
- *pnpm_setup
|
- *pnpm_setup
|
||||||
- cd backend && NODE_OPTIONS=--max-old-space-size=4096 pnpm build
|
- cd backend && NODE_OPTIONS=--max-old-space-size=4096 pnpm build
|
||||||
depends_on: [install]
|
depends_on: [test-backend]
|
||||||
|
|
||||||
build-admin:
|
build-admin:
|
||||||
image: *node_image
|
image: *node_image
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user