File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ python-tests :
9+ name : tox
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python 3.12
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.12"
19+
20+ - name : Install tox
21+ run : pip install tox
22+
23+ - name : Run tests
24+ run : tox
25+ env :
26+ TOXENV : py312
27+
28+ linting :
29+ name : linting
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+
34+ - name : Set up Python 3.12
35+ uses : actions/setup-python@v5
36+ with :
37+ python-version : " 3.12"
38+
39+ - name : Set up Node.js 20
40+ uses : actions/setup-node@v4
41+ with :
42+ node-version : " 20"
43+
44+ - name : Install frontend dependencies
45+ run : |
46+ cd server/frontend
47+ npm install
48+
49+ - name : Install pre-commit
50+ run : pip install pre-commit
51+
52+ - name : Run pre-commit
53+ run : pre-commit run --all-files
54+
55+ frontend-build :
56+ name : build frontend node 20
57+ runs-on : ubuntu-latest
58+ steps :
59+ - uses : actions/checkout@v4
60+
61+ - name : Set up Node.js 20
62+ uses : actions/setup-node@v4
63+ with :
64+ node-version : " 20"
65+
66+ - name : Install dependencies
67+ run : |
68+ cd server/frontend
69+ npm install
70+
71+ - name : Run tests
72+ run : |
73+ cd server/frontend
74+ npm run test
75+
76+ - name : Build production
77+ run : |
78+ cd server/frontend
79+ npm run production
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments