fix(ci): run pull request validation on hosted runners

This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-05-12 10:33:47 -04:00
1 parent f830115dcc
commit e7174d63bb
2 files changed
+7 -6

No files matched your search

@@ -20,7 +20,8 @@ describe('pr ci workflow', () => {
expect(workflow).toContain('group: ci-${{ github.ref }}');
expect(workflow).toContain('cancel-in-progress: true');
expect(workflow).toContain('fail-fast: false');
expect(workflow).toContain('runs-on: [self-hosted, linux, x64]');
expect(workflow.match(/runs-on: ubuntu-latest/g)).toHaveLength(3);
expect(workflow).not.toContain('runs-on: [self-hosted, linux, x64]');
expect(workflow).toContain("cmd: 'bun run typecheck'");
expect(workflow).toContain("cmd: 'bun run lint'");
expect(workflow).toContain("cmd: 'bun run format:check'");