diff --git a/.github/workflows/electron.yaml b/.github/workflows/electron.yaml index 59affee563..35a98c23e1 100644 --- a/.github/workflows/electron.yaml +++ b/.github/workflows/electron.yaml @@ -19,8 +19,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # Node versions to run on. - version: [24] + # NOTE: we need to pin this particular version for electron because + # 24.16 introduce some breaking changes affecting electron installation. + # We should monitor if NodeJS patches anything on that minor version before + # putting this back to latest LTS. + version: [24.15] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 @@ -80,7 +83,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 24 + node-version: 24.15 - uses: ./actions/run-example with: workspace_name: '@launchdarkly/electron-example'