reenable (and fix) frontend lint in CI

feat/vaults
Tomáš Mládek 2022-01-28 16:47:50 +01:00
parent 283665bf60
commit 5181e3f0cc
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 9 additions and 8 deletions

View File

@ -44,13 +44,14 @@ lint:backend_no_default_features:
- Makefile
allow_failure: true
#lint:frontend:
# stage: lint
# image: $NODE_IMAGE
# script:
# - make frontend_lint
# rules:
# - allow_failure: true
lint:frontend:
stage: lint
image: $NODE_IMAGE
script:
- node --version && npm --version
- make frontend_lint
rules:
- allow_failure: true
build:backend:
stage: build

View File

@ -31,7 +31,7 @@ backend_lint_no_default:
cargo clippy --no-default-features
frontend_lint:
cd webui && yarn instlal && yarn lint
cd webui && yarn install && yarn lint
backend_test:
cargo test --workspace --verbose