Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code Quality Pipeline

on:
pull_request:
branches: [ "develop" ]

jobs:
quality-check:
name: Code Quality & Security Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Run Quality Checks
run: npm test
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"tailwind:init": "tailwindcss init -p"
"tailwind:init": "tailwindcss init -p",
"type-check": "tsc --noEmit",
"audit": "pnpm audit --audit-level=high",
"test": "pnpm run lint && pnpm run type-check && pnpm run audit"
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^7.0.0",
Expand All @@ -20,19 +23,19 @@
"react-router-dom": "^7.7.0"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@eslint/js": "^9.33.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"autoprefixer": "^10.4.21",
"eslint": "^9.30.1",
"eslint": "^9.33.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.4",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"typescript-eslint": "^8.39.1",
"vite": "^7.0.3"
},
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
Expand Down
Loading