Skip to content

Remove redirects function from next.config.js #9

Remove redirects function from next.config.js

Remove redirects function from next.config.js #9

name: Frontend Web CI
on:
push:
branches:
- main
- master
paths:
- "src/**"
- "public/**"
- "package.json"
- "package-lock.json"
- "next.config.js"
- "postcss.config.js"
- "tailwind.config.js"
- "tsconfig.json"
- "tsconfig.typecheck.json"
- ".eslintrc.json"
- ".github/workflows/frontend-web-ci.yml"
pull_request:
paths:
- "src/**"
- "public/**"
- "package.json"
- "package-lock.json"
- "next.config.js"
- "postcss.config.js"
- "tailwind.config.js"
- "tsconfig.json"
- "tsconfig.typecheck.json"
- ".eslintrc.json"
- ".github/workflows/frontend-web-ci.yml"
workflow_dispatch:
jobs:
quality:
name: Lint, type-check and build
runs-on: ubuntu-latest
timeout-minutes: 15
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
steps:
- name: Checkout
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 || npm install
- name: Run lint
run: npm run lint
- name: Run type check (non-blocking)
run: npm run type-check
continue-on-error: true
- name: Build app
run: npm run build