🚨 add pr checks
All checks were successful
Build and Deploy Next.js Blog to Staging / 🔍 Code Quality Checks (push) Successful in 17s
Build and Deploy Next.js Blog to Staging / 🏗️ Build and Push Docker Image (push) Successful in 30s
Build and Deploy Next.js Blog to Staging / 🚀 Deploy to Staging (push) Successful in 58s
All checks were successful
Build and Deploy Next.js Blog to Staging / 🔍 Code Quality Checks (push) Successful in 17s
Build and Deploy Next.js Blog to Staging / 🏗️ Build and Push Docker Image (push) Successful in 30s
Build and Deploy Next.js Blog to Staging / 🚀 Deploy to Staging (push) Successful in 58s
This commit is contained in:
36
.gitea/workflows/pr-checks.yml
Normal file
36
.gitea/workflows/pr-checks.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
name: PR Checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- staging
|
||||
- main
|
||||
|
||||
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"
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
title: 'Technical Article'
|
||||
description: 'A technical article to test internal links'
|
||||
date: '2025-01-10'
|
||||
author: 'John Doe'
|
||||
category: 'Tech'
|
||||
tags: ['tech', 'test']
|
||||
---
|
||||
|
||||
# Technical Article
|
||||
|
||||
This is a test article for internal blog post linking.
|
||||
|
||||
Imagine cooler:
|
||||
|
||||

|
||||
|
||||
## Content
|
||||
|
||||
You are reading the technical article that was linked from the example post.
|
||||
Reference in New Issue
Block a user