Update CI job
This commit is contained in:
parent
7f6381b33c
commit
7e09022e49
3 changed files with 40 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue