File tree 2 files changed +56
-0
lines changed
2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Frontend build
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Set up Node.js
16
+ uses : actions/setup-node@v3
17
+ with :
18
+ node-version : ' 22'
19
+ - name : Install dependencies
20
+ run : |
21
+ cd frontend
22
+ npm install
23
+ - name : Build
24
+ run : |
25
+ cd frontend
26
+ npm run build
Original file line number Diff line number Diff line change
1
+ name : Server testing
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Set up python
16
+ uses : actions/setup-python@v3
17
+ with :
18
+ python-version : ' 3.9'
19
+
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install -r requirements.txt
24
+ # - name: Run tests
25
+ # run: |
26
+ # python manage.py test
27
+
28
+ - name : Check for errors
29
+ run : |
30
+ python manage.py check
You can’t perform that action at this time.
0 commit comments