Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(desktop): speed up macOS release builds (#80524)

Alessandro Pogliaghiaac82439beb2
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index 3198340b04ff..0d44ca7ad9dc 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -105,6 +105,17 @@ jobs:
node-version: 22
package-manager-cache: false
+ - name: Get pnpm store path
+ id: pnpm-store
+ run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
+
+ - name: Restore pnpm store
+ uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
+ with:
+ path: ${{ steps.pnpm-store.outputs.path }}
+ key: desktop-pnpm-${{ runner.os }}-${{ hashFiles('products/desktop/pnpm-lock.yaml') }}
+ restore-keys: desktop-pnpm-${{ runner.os }}-
+
- name: Extract version from tag
id: version
run: |
@@ -218,9 +229,6 @@ jobs:
echo "OK: codex-acp/$f"
done
- - name: Install Playwright
- run: pnpm --filter code exec playwright install
-
- name: Smoke test packaged app
env:
CI: true