* 🚀 refactor: simplify deployment process in workflow file * 🚀 chore: add IMAGE_NAME to GITHUB_ENV for deployment workflow * ✨ chore: simplify deployment logging in workflow file * 🚀 fix: correct container name in deployment script logic * 🚀 refactor: rename job and streamline deployment steps * Update README.md * ✨ fix: prevent multiple form submissions in Contact component * ✨ feat: honeypot and timestamp checks to form submission * ✨ refactor: simplify contact form and improve UI elements * ✨ feat: add responsive masonry layout for projects display * ✨ style: Update project title size and improve layout visibility * ✨ fix: remove unnecessary test assertions and improve act usage * ✨ chore: add @types/react-responsive-masonry package fixing with this import error on building * ✨ chore: remove unused dev dependencies from package-lock.json * ✨ refactor: update environment variable usage and add caching * ✨ refactor: update environment variables and dependencies * ✨ chore: streamline Dockerfile and remove redundant steps
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
name: Lint Code Base
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- production
|
|
- dev
|
|
- preview
|
|
paths:
|
|
- 'app/**'
|
|
- 'public/**'
|
|
- 'styles/**'
|
|
- 'Dockerfile'
|
|
- 'docker-compose.yml'
|
|
- '.github/workflows/**'
|
|
- 'next.config.ts'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- 'tsconfig.json'
|
|
- 'tailwind.config.ts'
|
|
pull_request:
|
|
branches:
|
|
- production
|
|
- dev
|
|
- preview
|
|
paths:
|
|
- 'app/**'
|
|
- 'public/**'
|
|
- 'styles/**'
|
|
- 'Dockerfile'
|
|
- 'docker-compose.yml'
|
|
- '.github/workflows/**'
|
|
- 'next.config.ts'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- 'tsconfig.json'
|
|
- 'tailwind.config.ts'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22.14.0
|
|
cache: 'npm'
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
|
|
- name: Run ESLint
|
|
run: npm run lint
|