Small tweaks to the workflow
This commit is contained in:
parent
b3a2dc3c2f
commit
03cea766d7
3 changed files with 9 additions and 5 deletions
6
.github/workflows/pull_request_check.yml
vendored
6
.github/workflows/pull_request_check.yml
vendored
|
@ -25,7 +25,11 @@ jobs:
|
|||
run: "echo '{\"layers\": [], \"themes\": []}' > ./assets/generated/known_layers_and_themes.json"
|
||||
|
||||
- name: Compile license info
|
||||
run: npm run validate:licenses
|
||||
run: npm run generate:licenses
|
||||
|
||||
- name: Compile and validate themes and layers
|
||||
run: npm run validate:layeroverview
|
||||
|
||||
- name: Validate license info
|
||||
run: npm run validate:licenses
|
||||
|
||||
|
|
4
.github/workflows/theme_validation.yml
vendored
4
.github/workflows/theme_validation.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
|
||||
- name: Compile license info
|
||||
run: npm run generate:licenses
|
||||
run: npm run validate:licenses
|
||||
|
||||
- name: Compile themes and layers
|
||||
run: npm run generate:layeroverview
|
||||
run: npm run validate:layeroverview
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
"generate:translations": "ts-node scripts/generateTranslations.ts",
|
||||
"generate:layouts": "ts-node scripts/generateLayouts.ts",
|
||||
"generate:docs": "ts-node scripts/generateDocs.ts",
|
||||
"generate:layeroverview": "ts-node scripts/generateLayerOverview.ts",
|
||||
"generate:licenses": "ts-node scripts/generateLicenseInfo.ts",
|
||||
"generate:layeroverview": "ts-node scripts/generateLayerOverview.ts --no-fail",
|
||||
"generate:licenses": "ts-node scripts/generateLicenseInfo.ts --no-fail",
|
||||
"validate:layeroverview": "ts-node scripts/generateLayerOverview.ts",
|
||||
"validate:licenses": "ts-node scripts/generateLicenseInfo.ts",
|
||||
"optimize-images": "cd assets/generated/ && find -name '*.png' -exec optipng '{}' \\; && echo 'PNGs are optimized'",
|
||||
|
|
Loading…
Reference in a new issue