This repository has been archived on 2026-03-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ci-templates/Pre-Commit-Node.gitlab-ci.yml
T
argoyle f5dc3f883a ci: update pre-commit images to latest versions
This commit updates the Docker images for the pre-commit hooks in both the
Node and Go configuration files to their latest versions. This change ensures
that we are using the most recent fixes and improvements provided by the 
pre-commit maintainers, enhancing performance and reliability.
2024-11-14 09:19:44 +01:00

16 lines
395 B
YAML

run-pre-commit:
stage: .pre
image: unbound/pre-commit-node:v0.0.11@sha256:0a01782a96fc4be9894dfd53bf1d9f5a36f98b9b16dbc289cb4de804d9f91166
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