Skip to content

fix(deploy): add GitHub Pages workflow and set Vite base path to /Neo… #7

fix(deploy): add GitHub Pages workflow and set Vite base path to /Neo…

fix(deploy): add GitHub Pages workflow and set Vite base path to /Neo… #7

Workflow file for this run

name: CI / CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Check types
run: npm run typecheck
continue-on-error: false
- name: Build application
run: npm run build
env:
VITE_GEMINI_API_KEY: ${{ secrets.VITE_GEMINI_API_KEY }}