Skip to content

chore(deps): bump puppeteer-core from 24.42.0 to 24.43.1 #1041

chore(deps): bump puppeteer-core from 24.42.0 to 24.43.1

chore(deps): bump puppeteer-core from 24.42.0 to 24.43.1 #1041

Workflow file for this run

name: CI
on:
push:
branches: [main, dev/v0.2]
pull_request:
branches: [main, dev/v0.2]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
# Cross-platform builds happen on tag releases via release.yml.
# PR/main CI runs on ubuntu only to control Actions cost (macOS 10x / Win 2x multiplier).
name: Lint, typecheck, test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install
run: env -u ELECTRON_SKIP_BINARY_DOWNLOAD -u ELECTRON_SKIP_DOWNLOAD pnpm install --frozen-lockfile --ignore-scripts=false
- name: Install Electron binary
run: |
env -u ELECTRON_SKIP_BINARY_DOWNLOAD -u ELECTRON_SKIP_DOWNLOAD pnpm -C apps/desktop exec node -e "
const { execFileSync } = require('node:child_process');
const path = require('node:path');
const electronDir = path.dirname(require.resolve('electron/package.json'));
execFileSync(process.execPath, [path.join(electronDir, 'install.js')], { stdio: 'inherit' });
"
- name: Verify Electron binary
run: |
env -u ELECTRON_SKIP_BINARY_DOWNLOAD -u ELECTRON_SKIP_DOWNLOAD pnpm -C apps/desktop exec node -e "
const fs = require('node:fs');
const electronPath = require('electron');
fs.accessSync(electronPath, fs.constants.X_OK);
console.log(electronPath);
"
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test
# Build smoke — bundle the Electron main + renderer so broken imports,
# missing assets, or bad vite config fail here instead of only during a
# tag release. Skip electron-builder packaging (that's release.yml's job).
- name: Build smoke (electron-vite bundle)
run: pnpm --filter @open-codesign/desktop exec electron-vite build
# Linux packaging smoke lives in .github/workflows/packaging-smoke.yml —
# it was pulled out of this workflow because workflow-level
# `cancel-in-progress: true` kept killing it whenever another PR merged
# to main during its ~13 min runtime. The smoke workflow has its own
# per-SHA concurrency group so each packaging-touching commit gets an
# independent smoke that always runs to completion.