mapcomplete/.github/actions/setup-and-validate/action.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.1 KiB
YAML
Raw Normal View History

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
with:
2024-05-02 15:44:14 +02:00
node-version: "20"
2022-09-03 18:00:54 +02:00
cache: "npm"
cache-dependency-path: package-lock.json
2023-07-27 01:55:21 +02:00
- name: print actor
shell: bash
run: echo ${{ github.actor }}
- name: install deps
run: npm ci
shell: bash
- name: REUSE compliance check
2023-09-21 16:09:51 +02:00
uses: fsfe/reuse-action@952281636420dd0b691786c93e9d3af06032f138
- name: create generated dir
run: mkdir ./assets/generated
shell: bash
- 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
- name: Prepare deploy
run: npm run prepare-deploy
shell: bash