chore(deps-dev): bump vitest from 3.2.4 to 4.1.7 in /sdk/node #293
Workflow file for this run
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] | |
| jobs: | |
| go: | |
| name: Go (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Build | |
| run: | | |
| go build ./cmd/daemon | |
| go build ./cmd/registry | |
| go build ./cmd/beacon | |
| go build ./cmd/rendezvous | |
| go build ./cmd/pilotctl | |
| go build ./cmd/nameserver | |
| go build ./cmd/gateway | |
| go build ./cmd/updater | |
| - name: Test | |
| # 300s matches the release workflow + pre-push hook. The tests/ | |
| # integration suite reliably takes 120-140s on these runners | |
| # (lots of UDP socket churn), which was right at the prior 120s | |
| # ceiling and tipped over after some recent additions. Bumped | |
| # to the same budget as release.yml so the two surfaces agree. | |
| run: go test -parallel 4 -count=1 -timeout 300s ./tests/ ./pkg/beacon/ | |
| - name: Coverage | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| cd tests && go test -parallel 4 -count=1 -coverprofile=coverage.out -covermode=atomic -timeout 300s | |
| go tool cover -func=coverage.out | tail -1 | |
| website: | |
| name: Website | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: web/package-lock.json | |
| - name: Install | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| node-sdk: | |
| name: Node SDK | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: sdk/node | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm test |