Merge branch 'claude/thirsty-torvalds-00f834' into main #56
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| agent: | |
| name: Go Agent | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Build | |
| run: cd agent && go build ./... | |
| - name: Vet | |
| run: cd agent && go vet ./... | |
| - name: Build (Windows cross-compile) | |
| env: | |
| GOOS: windows | |
| GOARCH: amd64 | |
| CGO_ENABLED: '0' | |
| run: cd agent && go build ./... | |
| relay: | |
| name: Relay + Web | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Type-check relay | |
| run: cd packages/relay && npx tsc --noEmit | |
| - name: Type-check web | |
| run: cd packages/web && npx tsc --noEmit | |
| - name: Build web | |
| run: cd packages/web && npx vite build |