Skip to content

Commit 0bf3728

Browse files
committed
GitHub: setup action
1 parent 7484128 commit 0bf3728

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/json_generation.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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
10+
steps:
11+
- name: Python setup
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: '3.11'
15+
cache: 'pip'
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Install requirements
19+
run: pip install -r requirements.txt
20+
- name: Validate YAMLs
21+
run: make -j$(nproc) validate
22+
- name: Generate JSONs
23+
run: make O=./build -j$(nproc)

0 commit comments

Comments
 (0)