Update CI job

This commit is contained in:
Sonny Bakker 2022-05-15 21:06:03 +02:00
parent 7f6381b33c
commit 7e09022e49
3 changed files with 40 additions and 2 deletions

View file

@ -12,7 +12,7 @@ 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