34 lines
845 B
YAML
34 lines
845 B
YAML
name: Theme Validation
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v1.2.0
|
|
env:
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
|
|
|
- name: install deps
|
|
run: npm ci
|
|
|
|
- name: create generated dir
|
|
run: mkdir ./assets/generated
|
|
|
|
- name: create stub themes
|
|
run: "echo '{\"layers\": [], \"themes\": []}' > ./assets/generated/known_layers_and_themes.json"
|
|
|
|
- name: generate translations
|
|
run: npm run generate:translations
|
|
|
|
- name: Compile license info
|
|
run: npm run validate:licenses
|
|
|
|
- name: Compile themes and layers
|
|
run: npm run validate:layeroverview
|