Skip to content

Commit e7b52aa

Browse files
authored
Merge pull request #92 from harshitsaini17/main
Feat: Add github issue template
2 parents 2c927a1 + fdeb414 commit e7b52aa

File tree

4 files changed

+117
-0
lines changed

4 files changed

+117
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 🐛 Bug Report
2+
description: Report a reproducible bug or regression in IITJ Faamily Tree.
3+
labels: ['bug']
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
11+
- type: dropdown
12+
id: os
13+
attributes:
14+
label: "Operating system"
15+
multiple: false
16+
options:
17+
- "Windows"
18+
- "macOS"
19+
- "Linux"
20+
- "Android"
21+
- "iOS"
22+
validations:
23+
required: true
24+
25+
26+
- type: textarea
27+
id: current
28+
attributes:
29+
label: Current behaviour
30+
description: Include screenshots or video recordings for UI problems if needed.
31+
placeholder: |
32+
1. This
33+
2. Then that
34+
3. Then this
35+
4. Etc.
36+
37+
- type: textarea
38+
id: expected
39+
attributes:
40+
label: Expected behaviour
41+
description: What did you expect to do?
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 🚀 Feature Request
2+
description: Suggest an enhancement to this project.
3+
labels:
4+
- 'type: enhancement'
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Describe the request
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
id: additional
15+
attributes:
16+
label: Additional context
17+
description: Add any additional information here.
18+
validations:
19+
required: false
20+

.github/workflows/frontend.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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

.github/workflows/server.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

0 commit comments

Comments
 (0)