2021-11-30 16:46:19 +00:00
|
|
|
pipeline:
|
|
|
|
deps:
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
|
|
|
- cd web/
|
|
|
|
- yarn install --frozen-lockfile
|
2022-05-20 03:31:19 +00:00
|
|
|
when:
|
|
|
|
path: "web/**"
|
2021-11-30 16:46:19 +00:00
|
|
|
|
|
|
|
lint:
|
|
|
|
group: test
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
|
|
|
- cd web/
|
|
|
|
- yarn lint
|
2022-05-20 03:31:19 +00:00
|
|
|
when:
|
|
|
|
path: "web/**"
|
2021-11-30 16:46:19 +00:00
|
|
|
|
|
|
|
formatcheck:
|
|
|
|
group: test
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
|
|
|
- cd web/
|
|
|
|
- yarn formatcheck
|
2022-05-20 03:31:19 +00:00
|
|
|
when:
|
|
|
|
path: "web/**"
|
2021-11-30 16:46:19 +00:00
|
|
|
|
|
|
|
typecheck:
|
|
|
|
group: test
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
|
|
|
- cd web/
|
|
|
|
- yarn typecheck
|
2022-05-20 03:31:19 +00:00
|
|
|
when:
|
|
|
|
path: "web/**"
|
2021-11-30 16:46:19 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
group: test
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
|
|
|
- cd web/
|
|
|
|
- yarn test
|
2022-05-20 03:31:19 +00:00
|
|
|
when:
|
|
|
|
path: "web/**"
|
2021-11-30 16:46:19 +00:00
|
|
|
|