Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit 65d35d5

Browse files
committed
Update CodeQL workflow to set up Python and Node.js environments for building backend and frontend code
1 parent 2c10bb1 commit 65d35d5

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,26 @@ jobs:
3434
with:
3535
languages: ${{ matrix.language }}
3636

37-
- name: "Build code"
37+
- name: "Set up Python"
38+
uses: actions/setup-python@v4
39+
with:
40+
python-version: '3.x'
41+
42+
- name: "Build backend code"
3843
run: |
39-
# Add build commands for your project here
40-
# Backend: Install Python dependencies using Poetry
4144
python -m pip install --upgrade pip
4245
pip install poetry
46+
cd backend
4347
poetry install
48+
cd ..
4449
45-
# Frontend: Install Node.js dependencies
50+
- name: "Set up Node.js"
51+
uses: actions/setup-node@v3
52+
with:
53+
node-version: '22.x'
54+
55+
- name: "Build frontend code"
56+
run: |
4657
cd frontend
4758
npm install
4859
cd ..

0 commit comments

Comments
 (0)