woodpecker/.woodpecker/web.yml
Anbraten f32c20b650
Improve ci tests (#353)
* improve ci tests

* filter store

* improve ci configs

* fix create dir before accessing
2021-11-30 17:46:19 +01:00

45 lines
689 B
YAML

pipeline:
deps:
image: node:16-alpine
commands:
- cd web/
- yarn install --frozen-lockfile
when:
path: "web/**"
lint:
group: test
image: node:16-alpine
commands:
- cd web/
- yarn lint
when:
path: "web/**"
formatcheck:
group: test
image: node:16-alpine
commands:
- cd web/
- yarn formatcheck
when:
path: "web/**"
typecheck:
group: test
image: node:16-alpine
commands:
- cd web/
- yarn typecheck
when:
path: "web/**"
test:
group: test
image: node:16-alpine
commands:
- cd web/
- yarn test
when:
path: "web/**"