Skip to content
Merged
Changes from 1 commit
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
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI/CD Pipeline

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
formatting:
name: "🔧 Formatting & Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
continue-on-error: true

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
continue-on-error: true

- name: Install dependencies
run: npm ci
continue-on-error: true

- name: Prettier format
run: npm run format
continue-on-error: true

- name: ESLint lint
run: npm run lint
continue-on-error: true

complete:
name: "🎉 Pipeline Complete"
runs-on: ubuntu-latest
needs: [formatting]
if: ${{ always() }}
steps:
- name: Final status
run: echo "✅ CI/CD pipeline finished successfully."
Loading