Skip to content

[feat] addded github actions #1

[feat] addded github actions

[feat] addded github actions #1

Workflow file for this run

name: Lint Code Quality
on:
pull_request:
branches: [main, develop]
push:
branches: [main, develop]
workflow_dispatch:
workflow_call:
jobs:
eslint:
name: ESLint 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"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Success message
if: success()
run: echo "✅ All linting checks passed!"