Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,21 @@ jobs:
- name: Install web dependencies
run: cd apps/web && npm ci

- name: Go vet
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.13.2
install-only: true

- name: Go lint and vet
run: make lint-go

- name: Web ESLint
- name: Web lint
run: make lint-web

- name: Web typecheck
run: cd apps/web && npm run typecheck

- name: SDK typecheck
run: make lint-sdk

Expand All @@ -66,14 +75,22 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: packages/sdk/typescript/package-lock.json
cache-dependency-path: |
apps/web/package-lock.json
packages/sdk/typescript/package-lock.json

- name: Install web dependencies
run: cd apps/web && npm ci

- name: Start NATS
run: docker compose up -d --wait nats

- name: Run tests
- name: Run Go and SDK tests
run: make test

- name: Run web tests
run: cd apps/web && npm test

build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -98,8 +115,5 @@ jobs:
- name: Install web dependencies
run: cd apps/web && npm ci

- name: Build SDK
run: make build-sdk

- name: Build all
run: make build
Loading