This repository has been archived on 2025-04-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
gitlab/.gitlab-ci.yml

25 lines
395 B
YAML

stages:
- lint
- test
cache:
key: $CI_COMMIT_REF_SLUG
paths:
- .cache/pip
- node_modules/
lint:
stage: lint
image: node:latest
before_script:
- npm install
script:
- npx prettier '**/*.yml' --check
syntax-test:
stage: test
image: python:latest
before_script:
- pip install ansible --quiet
script:
- ansible-playbook playbook.yml --syntax-check