diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-03-25 12:55:32 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-03-25 12:55:32 +0100 |
commit | 897d53087a4c3c3338738cf6c297d4a551216e01 (patch) | |
tree | ec5b14b0fbde1c7305d3eeb32203604a367799b7 /.gitlab-ci.yml | |
parent | 63cd1f436555d15f980e7fa71d91bc2da4367d94 (diff) | |
download | fietsboek-897d53087a4c3c3338738cf6c297d4a551216e01.tar.gz fietsboek-897d53087a4c3c3338738cf6c297d4a551216e01.tar.bz2 fietsboek-897d53087a4c3c3338738cf6c297d4a551216e01.zip |
fix eslint CI job
Turns out you need to supply an actual empty array.
While we're playing with the CI configuration, we also move the
deprecated global image/cache/before_script sections into the "default"
section.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07ceb3c..1725814 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,23 +1,23 @@ -image: python:latest - # Change pip's cache directory to be inside the project directory since we can # only cache local items. variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" -# Pip's cache doesn't store the python packages -# https://pip.pypa.io/en/stable/topics/caching/ -# -# If you want to also cache the installed packages, you have to install -# them in a virtualenv and cache it as well. -cache: - paths: - - .cache/pip - - .tox +default: + image: python:latest + # Pip's cache doesn't store the python packages + # https://pip.pypa.io/en/stable/topics/caching/ + # + # If you want to also cache the installed packages, you have to install + # them in a virtualenv and cache it as well. + cache: + paths: + - .cache/pip + - .tox -before_script: - - python --version # For debugging - - pip install tox + before_script: + - python --version # For debugging + - pip install tox test: script: @@ -44,7 +44,7 @@ mypy: eslint: image: node - before_script: + before_script: [] script: - npm install - npx eslint asset-sources/*.ts |