1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/.woodpecker/web.yml
2022-06-16 23:00:24 +02:00

51 lines
759 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
name: clone-web
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/**"