Files
dd0c/.gitea/workflows/ci-p4-portal.yml
Max Mayfield ee11ef9e9b Remove build-push from CI — Nas runner lacks Docker socket inside containers
Build+push must happen on the NAS host via watch-loop.sh or build-push.sh
2026-03-02 05:35:46 +00:00

28 lines
718 B
YAML

name: CI — P4 Portal
on:
push:
branches: [main]
paths: ['products/04-lightweight-idp/**']
pull_request:
paths: ['products/04-lightweight-idp/**']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true
cd $GITHUB_WORKSPACE
- name: Install deps
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm ci --include=dev
- name: Type check
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && ./node_modules/.bin/tsc --noEmit
- name: Test
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm test