ci: CI/CD pipeline with 10 quality gates + Forgejo Actions workflow
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: CI/CD Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
quality-gate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- name: Install Python deps
|
||||
run: pip install -r requirements.txt
|
||||
- name: Install Frontend deps
|
||||
run: cd frontend && npm ci
|
||||
- name: Run CI/CD Pipeline
|
||||
run: bash scripts/ci_pipeline.sh
|
||||
Reference in New Issue
Block a user