: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(ci): pin desktop workflows to an exact node version (#122821)
Tom Piccirelloeef08d9542b8
diff --git a/.github/renovate.json5 b/.github/renovate.json5index b5cafe309527..aa421aaf7c02 100644--- a/.github/renovate.json5+++ b/.github/renovate.json5@@ -12,6 +12,8 @@'gomod','cargo','custom.regex',+ 'nodenv',+ 'nvm',],dependencyDashboardTitle: 'Renovate: Dependency Status',dependencyDashboardLabels: [@@ -91,5 +93,12 @@dependencyDashboardApproval: false,groupName: 'sandbox nodejs',},+ // A stale Node pin keeps known vulnerabilities in CI, so skip the dashboard approval+ // for `.node-version` and `.nvmrc` updates. A major bump still waits for approval+ {+ matchManagers: ['nodenv', 'nvm'],+ matchUpdateTypes: ['minor', 'patch'],+ dependencyDashboardApproval: false,+ },],}diff --git a/.github/workflows/desktop-agent-release-verify.yml b/.github/workflows/desktop-agent-release-verify.ymlindex 68105d2de3c0..39abadcafd40 100644--- a/.github/workflows/desktop-agent-release-verify.yml+++ b/.github/workflows/desktop-agent-release-verify.yml@@ -43,7 +43,7 @@ jobs:- name: Set up Node 24uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 24+ node-version-file: .nvmrc- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/desktop-agent-release.yml b/.github/workflows/desktop-agent-release.ymlindex 5ddd2e7e508e..946d76676c53 100644--- a/.github/workflows/desktop-agent-release.yml+++ b/.github/workflows/desktop-agent-release.yml@@ -46,7 +46,7 @@ jobs:- name: Set up Node 24uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 24+ node-version-file: .nvmrcpackage-manager-cache: false- name: Extract version from tagdiff --git a/.github/workflows/desktop-build-test.yml b/.github/workflows/desktop-build-test.ymlindex b6a0ed21ad8a..b81c5408808f 100644--- a/.github/workflows/desktop-build-test.yml+++ b/.github/workflows/desktop-build-test.yml@@ -95,7 +95,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version# pnpm installs native optional packages for the host CPU only, and the x64# build runs on an Apple silicon runner.@@ -256,7 +256,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Install e2e dependenciesrun: pnpm install --frozen-lockfile --ignore-scripts --filter code@@ -335,7 +335,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-store@@ -461,7 +461,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.ymlindex 2d570eb812df..4733dc1a96af 100644--- a/.github/workflows/desktop-build.yml+++ b/.github/workflows/desktop-build.yml@@ -113,7 +113,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/desktop-mobile-build.yml b/.github/workflows/desktop-mobile-build.ymlindex 18727d9cb10a..03f72e73ef38 100644--- a/.github/workflows/desktop-mobile-build.yml+++ b/.github/workflows/desktop-mobile-build.yml@@ -62,7 +62,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versioncache: 'pnpm'cache-dependency-path: products/desktop/pnpm-lock.yamldiff --git a/.github/workflows/desktop-mobile-promote.yml b/.github/workflows/desktop-mobile-promote.ymlindex 85edc35684c7..e31e687ddf58 100644--- a/.github/workflows/desktop-mobile-promote.yml+++ b/.github/workflows/desktop-mobile-promote.yml@@ -82,7 +82,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Setup EASuses: expo/expo-github-action@eab7a230208c952974db8c3245cfd78402c7b385 # 9.0.0diff --git a/.github/workflows/desktop-quality.yml b/.github/workflows/desktop-quality.ymlindex dde5fef2d15e..41bf0035a7dd 100644--- a/.github/workflows/desktop-quality.yml+++ b/.github/workflows/desktop-quality.yml@@ -101,7 +101,7 @@ jobs:- name: Setup Nodeuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Check host boundaries (apps/code must stay a thin Electron host)diff --git a/.github/workflows/desktop-react-doctor.yml b/.github/workflows/desktop-react-doctor.ymlindex 6b33d86f2612..43b81d765f06 100644--- a/.github/workflows/desktop-react-doctor.yml+++ b/.github/workflows/desktop-react-doctor.yml@@ -41,7 +41,7 @@ jobs:- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- id: scandiff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.ymlindex ffd5b427fa6b..594f6fddacd3 100644--- a/.github/workflows/desktop-release.yml+++ b/.github/workflows/desktop-release.yml@@ -108,7 +108,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Get pnpm store path@@ -347,7 +347,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Install e2e dependencies@@ -429,7 +429,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Extract version from tag@@ -620,7 +620,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Extract version from tag@@ -762,6 +762,7 @@ jobs:fetch-depth: 0filter: blob:nonesparse-checkout: |+ products/desktop/.node-versionproducts/desktop/apps/code/scripts/merge-mac-manifests.mjsproducts/desktop/apps/code/scripts/generate-release-download-tables.mjsproducts/desktop/apps/code/scripts/build-releases-feed.mjs@@ -774,7 +775,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versionpackage-manager-cache: false- name: Install yaml dependencydiff --git a/.github/workflows/desktop-test.yml b/.github/workflows/desktop-test.ymlindex 307368434a48..e036bd2f925f 100644--- a/.github/workflows/desktop-test.yml+++ b/.github/workflows/desktop-test.yml@@ -107,7 +107,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-store@@ -161,7 +161,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-store@@ -310,7 +310,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/desktop-typecheck.yml b/.github/workflows/desktop-typecheck.ymlindex fc83040c8b92..84ecc8980c9a 100644--- a/.github/workflows/desktop-typecheck.yml+++ b/.github/workflows/desktop-typecheck.yml@@ -99,7 +99,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/desktop-update-e2e.yml b/.github/workflows/desktop-update-e2e.ymlindex 9ab292eceac2..66ce81e5b3f2 100644--- a/.github/workflows/desktop-update-e2e.yml+++ b/.github/workflows/desktop-update-e2e.yml@@ -74,7 +74,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-versioncache: 'pnpm'cache-dependency-path: products/desktop/pnpm-lock.yamldiff --git a/.github/workflows/desktop-warm-caches.yml b/.github/workflows/desktop-warm-caches.ymlindex 5368ec4af7ac..672605c9e234 100644--- a/.github/workflows/desktop-warm-caches.yml+++ b/.github/workflows/desktop-warm-caches.yml@@ -55,7 +55,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-store@@ -114,7 +114,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:- node-version: 22+ node-version-file: products/desktop/.node-version- name: Get pnpm store pathid: pnpm-storediff --git a/products/desktop/.node-version b/products/desktop/.node-versionindex 8fdd954df983..c62d2c858186 100644--- a/products/desktop/.node-version+++ b/products/desktop/.node-version@@ -1 +1 @@-22\ No newline at end of file+22.23.4\ No newline at end of file