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

33
package-lock.json generated Normal file
View file

@ -0,0 +1,33 @@
{
"name": "development",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"dependencies": {
"prettier": "^2.6.2"
}
},
"node_modules/prettier": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
}
},
"dependencies": {
"prettier": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew=="
}
}
}

5
package.json Normal file
View file

@ -0,0 +1,5 @@
{
"dependencies": {
"prettier": "^2.6.2"
}
}