run-pre-commit: stage: .pre image: unbound/pre-commit-node:v0.0.14@sha256:5fa00d39a3c0e37f8af6d72ba25052e0d2d4f1fc96ef106a6006e6baffdb6d48 variables: PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit cache: - key: files: - .pre-commit-config.yaml paths: - ${PRE_COMMIT_HOME} before_script: - npm ci --no-progress script: - pre-commit run --all-files