Skip to content

🚀 Kali Linux Control Panel Dashboard - Production Ready React Application #45

🚀 Kali Linux Control Panel Dashboard - Production Ready React Application

🚀 Kali Linux Control Panel Dashboard - Production Ready React Application #45

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install root dependencies
run: npm install
- name: Install Kali Dashboard dependencies
run: |
cd kali-dashboard
npm install
- name: Run ESLint
run: |
cd kali-dashboard
npm run lint
- name: Build Kali Dashboard
run: |
cd kali-dashboard
npm run build
- name: Check build artifacts
run: |
cd kali-dashboard
ls -la dist/