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: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '22' - name: Install deps run: npm ci working-directory: products/04-lightweight-idp - name: Type check run: npx tsc --noEmit working-directory: products/04-lightweight-idp - name: Test run: npm test working-directory: products/04-lightweight-idp