test(native-messaging,github): add host.ts coverage + 5xx-probe enric… #2444
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ⚡ CI | ||
| # Dependencies: | ||
| # - SocketDev/socket-registry/.github/workflows/ci.yml | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| tags: ['*'] | ||
| pull_request: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| ci: | ||
| name: Run CI Pipeline | ||
| uses: SocketDev/socket-registry/.github/workflows/ci.yml@a3f89d934a9fe9ae1640e4e00c11a2a69dc7c8cb # main (2026-06-02) | ||
|
Check failure on line 24 in .github/workflows/ci.yml
|
||
| with: | ||
| test-script: 'pnpm run build && pnpm exec vitest --config .config/repo/vitest.config.mts run' | ||
| # Pass the Socket API token so the install step runs sfw-enterprise, | ||
| # which honors the org security policy (where package-alert allowlist | ||
| # entries live). Without it, install falls back to sfw-free, which has | ||
| # no policy and fails on AI-scan flags like the @redwoodjs/agent-ci FP. | ||
| secrets: | ||
| SOCKET_API_TOKEN: ${{ secrets.SOCKET_API_TOKEN }} | ||
| test-isolated: | ||
| name: Test (Isolated) | ||
| needs: ci | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: SocketDev/socket-registry/.github/actions/setup-and-install@a3f89d934a9fe9ae1640e4e00c11a2a69dc7c8cb # main (2026-06-02) | ||
| with: | ||
| socket-api-token: ${{ secrets.SOCKET_API_TOKEN }} | ||
| - name: Build project | ||
| run: pnpm run build | ||
| - name: Run isolated tests | ||
| run: pnpm exec vitest --config .config/repo/vitest.config.isolated.mts run | ||