add lib lint to CI
This commit is contained in:
parent
0be089dd81
commit
4e49d8891d
2 changed files with 12 additions and 0 deletions
|
@ -53,6 +53,15 @@ lint:frontend:
|
||||||
rules:
|
rules:
|
||||||
- allow_failure: true
|
- allow_failure: true
|
||||||
|
|
||||||
|
lint:frontend_lib:
|
||||||
|
stage: lint
|
||||||
|
image: $NODE_IMAGE
|
||||||
|
script:
|
||||||
|
- node --version && npm --version
|
||||||
|
- make frontend_lib_lint
|
||||||
|
rules:
|
||||||
|
- allow_failure: true
|
||||||
|
|
||||||
build:backend:
|
build:backend:
|
||||||
stage: build
|
stage: build
|
||||||
image: $RUST_IMAGE
|
image: $RUST_IMAGE
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -33,6 +33,9 @@ backend_lint_no_default:
|
||||||
frontend_lint:
|
frontend_lint:
|
||||||
cd webui && yarn add ../tools/upend_js && yarn install && yarn lint
|
cd webui && yarn add ../tools/upend_js && yarn install && yarn lint
|
||||||
|
|
||||||
|
frontend_lib_lint:
|
||||||
|
cd tools/upend_js && yarn install && yarn lint
|
||||||
|
|
||||||
backend_test:
|
backend_test:
|
||||||
cargo test --workspace --verbose
|
cargo test --workspace --verbose
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue