Skip to content

Commit 8b17c29

Browse files
committed
GitHub: setup action
1 parent 7484128 commit 8b17c29

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/json_generation.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Frontend JSON Generation
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
generation:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: debian:stable-slim
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Python setup
14+
run: apt update && apt install python3 python3-venv && apt clean
15+
- name: Install requirements
16+
run: pip3 install -r requirements.txt
17+
- name: Validate YAMLs
18+
run: make -j$(nproc) validate
19+
- name: Generate JSONs
20+
run: make O=./build -j$(nproc)

0 commit comments

Comments
 (0)