2022-01-12 21:36:41 +01:00
|
|
|
name: "Theme Validation"
|
|
|
|
description: "Validate the themes"
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Set up Node.js
|
2022-09-03 18:00:54 +02:00
|
|
|
uses: actions/setup-node@v3
|
2022-01-12 21:36:41 +01:00
|
|
|
with:
|
2022-09-03 18:00:54 +02:00
|
|
|
node-version: "16"
|
|
|
|
cache: "npm"
|
|
|
|
cache-dependency-path: package-lock.json
|
2022-01-12 21:36:41 +01:00
|
|
|
|
2023-07-27 01:55:21 +02:00
|
|
|
- name: print actor
|
|
|
|
shell: bash
|
|
|
|
run: echo ${{ github.actor }}
|
|
|
|
|
2022-01-12 21:36:41 +01:00
|
|
|
- name: install deps
|
|
|
|
run: npm ci
|
|
|
|
shell: bash
|
|
|
|
|
2023-09-01 13:41:57 +02:00
|
|
|
- name: REUSE compliance check
|
|
|
|
uses: fsfe/reuse-action@v2
|
|
|
|
|
2022-01-12 21:36:41 +01:00
|
|
|
- name: create generated dir
|
|
|
|
run: mkdir ./assets/generated
|
|
|
|
shell: bash
|
2023-05-19 11:23:17 +02:00
|
|
|
|
|
|
|
- name: create dependencies
|
|
|
|
run: npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:service-worker
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: sync translations
|
|
|
|
run: npm run generate:translations
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: generate layeroverview
|
|
|
|
run: npm run reset:layeroverview
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: run tests
|
|
|
|
run: npm run test
|
|
|
|
shell: bash
|
2022-01-12 21:36:41 +01:00
|
|
|
|
|
|
|
- name: Prepare deploy
|
|
|
|
run: npm run prepare-deploy
|
|
|
|
shell: bash
|