add lib lint to CI

feat/vaults
Tomáš Mládek 2022-01-30 16:52:23 +01:00
parent 0be089dd81
commit 4e49d8891d
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,15 @@ lint:frontend:
rules:
- 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:
stage: build
image: $RUST_IMAGE

View File

@ -33,6 +33,9 @@ backend_lint_no_default:
frontend_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:
cargo test --workspace --verbose