Skip to content

Update weekly patch updates #711

Update weekly patch updates

Update weekly patch updates #711

name: Frontend (Next.js)
on:
pull_request:
branches: [main, "renovate/*", "CHAOS-224-KHAOS-rewrite", "CHAOS-571-integrate-be-fe", "CHAOS-598-nextjs"]
paths:
- "frontend-nextjs/**"
- ".github/workflows/frontend-nextjs.yml"
push:
branches: ["renovate/*"]
paths:
- "frontend-nextjs/**"
- ".github/workflows/frontend-nextjs.yml"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend-nextjs
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: "npm"
cache-dependency-path: frontend-nextjs/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
NEXT_PUBLIC_APP_URL: http://localhost:3000
NEXT_OAUTH_CALLBACK_URL: http://localhost:8080/auth/google
NEXT_PUBLIC_API_BASE_URL: https://localhost:8080