Skip to content

nginx: only serve the SPA shell to browser navigation #26

nginx: only serve the SPA shell to browser navigation

nginx: only serve the SPA shell to browser navigation #26

Workflow file for this run

name: Frontend
on:
push:
branches: [main]
pull_request:
jobs:
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Check formatting
run: npm run format:check
- name: Test
run: npm test
- name: Build
run: npm run build