Skip to content

Merge pull request #2 from lucas19919/feat/proxy-forward-auth #45

Merge pull request #2 from lucas19919/feat/proxy-forward-auth

Merge pull request #2 from lucas19919/feat/proxy-forward-auth #45

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
pkg: [api, web]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
- name: Install
run: npm ci || npm install
working-directory: ${{ matrix.pkg }}
- name: Typecheck
run: npx tsc --noEmit || npx tsc -b
working-directory: ${{ matrix.pkg }}
- name: Test (api only)
if: matrix.pkg == 'api'
run: npm test
working-directory: api
env:
DB_PATH: ./data/test.db
- name: Build (web only)
if: matrix.pkg == 'web'
run: npm run build
working-directory: web