name: CI — P3 Alert on: push: branches: [main] paths: ['products/03-alert-intelligence/**'] pull_request: paths: ['products/03-alert-intelligence/**'] 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/03-alert-intelligence && npm ci --include=dev - name: Type check run: cd $GITHUB_WORKSPACE/products/03-alert-intelligence && ./node_modules/.bin/tsc --noEmit - name: Test run: cd $GITHUB_WORKSPACE/products/03-alert-intelligence && npm test