Files
mypage/.gitea/workflows/pr-checks.yml
RJ 73cbc8f731
All checks were successful
Build and Deploy Next.js Blog to Staging / 🔍 Code Quality Checks (push) Successful in 23s
PR Checks / lint-and-build (pull_request) Successful in 22s
Build and Deploy Next.js Blog to Staging / 🏗️ Build and Push Docker Image (push) Successful in 32s
Build and Deploy Next.js Blog to Staging / 🚀 Deploy to Staging (push) Successful in 48s
Build and Deploy Next.js Blog to Production / 🔍 Code Quality Checks (push) Successful in 18s
Build and Deploy Next.js Blog to Production / 🏗️ Build and Push Docker Image (push) Successful in 3s
Build and Deploy Next.js Blog to Production / 🚀 Deploy to Production (push) Successful in 47s
🟢 pr check on any opened pr
2025-12-03 16:34:39 +02:00

35 lines
836 B
YAML

name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
lint-and-build:
runs-on: node-22
steps:
- name: Checkout
uses: actions/checkout@v4
- name: 📥 Install dependencies
run: npm ci
- name: 🔍 Run ESLint
run: npm run lint
continue-on-error: true
- name: 💅 Check code formatting (Prettier)
run: npm run format:check
continue-on-error: true
- name: 🔤 TypeScript type checking
run: npx tsc --noEmit
- name: ✅ All quality checks passed
run: |
echo "✅ All code quality checks passed successfully!"
echo " - ESLint: No linting errors"
echo " - Prettier: Code is properly formatted"
echo " - TypeScript: No type errors"