Update CI job

This commit is contained in:
Sonny Bakker 2022-05-15 21:22:48 +02:00
parent 15cdd4fd00
commit 05730facce
3 changed files with 40 additions and 2 deletions

View file

@ -12,7 +12,7 @@ pretty-lint:
stage: lint
image: node:12
before_script:
- npm install prettier --no-save
- npm install
script:
- npx prettier "**/*.yml" --check
@ -21,6 +21,6 @@ syntax-test:
image: python:3.7
before_script:
- pip install ansible --quiet
- ansible-galaxy install -r requirements.yml
- ansible-galaxy install --role-file requirements.yml
script:
- ansible-playbook playbook.yml --syntax-check