From 4e49d8891d1282a623ddc29550be311d73b4642e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 30 Jan 2022 16:52:23 +0100 Subject: [PATCH] add lib lint to CI --- .gitlab-ci.yml | 9 +++++++++ Makefile | 3 +++ 2 files changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eeb1c0f..6450ad4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Makefile b/Makefile index 7821465..babaf81 100644 --- a/Makefile +++ b/Makefile @@ -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