steps:
- checkout
- run: make ui-check-code-style
- run: make ui-test-cover
- run: make ui
- persist_to_workspace:
root: .
paths:
- ui/build
.PHONY:
ui-npm-ci:
cd ui && npm ci
.PHONY: ui
ui: ui-npm-ci
cd ui && npm run build
.PHONY: ui-check-code-style
ui-check-code-style: ui
cd ui && npm run lint
.PHONY: ui-test-cover
ui-test-cover: ui-npm-ci
cd ui && npm run coverage