Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .github/workflows/agent-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main
workflow_dispatch:

concurrency:
group: agent-release
cancel-in-progress: false

jobs:
check-package-version:
name: Check package version and detect an update
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Build

on:
pull_request:
push:
branches:
- main

concurrency:
group: build-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand All @@ -16,19 +17,24 @@ jobs:
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build electron-trpc
run: pnpm --filter @posthog/electron-trpc build

- name: Build agent
run: pnpm --filter agent build

- name: Build array
run: pnpm --filter array build
8 changes: 7 additions & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Code quality
on:
pull_request:

concurrency:
group: code-quality-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
quality:
runs-on: ubuntu-latest
Expand All @@ -13,7 +17,9 @@ jobs:
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Setup Biome
uses: biomejs/setup-biome@v2

- name: Run Biome
run: biome ci .
run: biome ci .
8 changes: 8 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Typecheck
on:
pull_request:

concurrency:
group: typecheck-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
typecheck:
runs-on: ubuntu-latest
Expand All @@ -13,14 +17,18 @@ jobs:
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run type check
run: pnpm run typecheck