feat: 加 mails-gtm-agent Service Binding,webhook 走内部通道避免 error 1042 #35
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.9" | |
| - run: bun install | |
| - name: Type check | |
| run: bun run typecheck | |
| - name: Run CLI tests (isolated to prevent mock.module pollution) | |
| run: bun test test/unit/cli.test.ts | |
| - name: Run remaining unit tests | |
| run: | | |
| find test/unit -name '*.test.ts' ! -name 'cli.test.ts' | xargs bun test |