Commit b3b3281b authored by deck's avatar deck

fix gitlab-ci script error

fix prettier error into file to check script

running prettier from tox build side
parent ca30d1f9
......@@ -8,21 +8,17 @@ stages:
- build
- test
- deploy
static_js_css:
stage: static
image: ${GITLAB_CI_IMAGE_NODE}
script:
- npm install prettier
- prettier --check "./polaris/**/*.html"
static:
stage: static
image: ${GITLAB_CI_IMAGE_PYTHON}
before_script:
- pip install "$GITLAB_CI_PYPI_TOX"
- apt update
- apt install npm -y
- npm install -g prettier
script:
- tox -e "flake8,isort,yapf,pylint"
- tox -e "flake8,isort,yapf,pylint,prettier"
build:
stage: build
image: ${GITLAB_CI_IMAGE_PYTHON}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment