docs(changelog): record #384 Google custom endpoint fix #1841
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [24] | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Enable Corepack | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@10.34.5 --activate | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Tests (coverage) | |
| run: pnpm test:coverage | |
| - name: Build | |
| run: pnpm build | |
| - name: macOS release contract | |
| run: scripts/test-macos-release.sh | |
| - name: Pack | |
| run: | | |
| set -euo pipefail | |
| rm -rf _pack | |
| mkdir -p _pack/root _pack/core | |
| pnpm pack --pack-destination _pack/root | |
| pnpm -C packages/core pack --pack-destination "$PWD/_pack/core" | |
| echo "==> root" | |
| ls -la _pack/root | |
| ROOT_TARBALL="$(find _pack/root -maxdepth 1 -type f \( -name '*.tgz' -o -name '*.tar.gz' \) | head -1)" | |
| if [ -z "${ROOT_TARBALL:-}" ]; then | |
| echo "No root pack artifact found in _pack/root" >&2 | |
| exit 1 | |
| fi | |
| tar -tf "$ROOT_TARBALL" | grep -E '^package/dist/cli\.js$' | |
| echo "==> core" | |
| ls -la _pack/core | |
| CORE_TARBALL="$(find _pack/core -maxdepth 1 -type f \( -name '*.tgz' -o -name '*.tar.gz' \) | head -1)" | |
| if [ -z "${CORE_TARBALL:-}" ]; then | |
| echo "No core pack artifact found in _pack/core" >&2 | |
| exit 1 | |
| fi | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/esm/index\.js$' | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/esm/content/index\.js$' | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/esm/prompts/index\.js$' | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/ffmpeg-wasm/node/ffmpeg_g\.wasm$' | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/ffmpeg-wasm/node/ffprobe_g\.wasm$' | |
| tar -tf "$CORE_TARBALL" | grep -E '^package/dist/ffmpeg-wasm/node/COPYING\.LGPLv2\.1$' | |
| extension-e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| - name: Enable Corepack | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@10.34.5 --activate | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Install Playwright (Chromium) | |
| run: pnpm -C apps/chrome-extension exec playwright install --with-deps chromium | |
| - name: Build extension | |
| run: pnpm -C apps/chrome-extension build | |
| - name: Extension E2E (Chromium) | |
| run: | | |
| xvfb-run --auto-servernum --server-args='-screen 0 1280x720x24' \ | |
| pnpm -C apps/chrome-extension exec playwright test -c playwright.config.ts --project=chromium \ | |
| tests/native-messaging.e2e.spec.ts tests/sidepanel.browser-slides.spec.ts | |
| SUMMARIZE_E2E_HTTP_TRANSPORT=1 pnpm -C apps/chrome-extension build | |
| xvfb-run --auto-servernum --server-args='-screen 0 1280x720x24' \ | |
| env SUMMARIZE_E2E_HTTP_TRANSPORT=1 pnpm -C apps/chrome-extension exec playwright test -c playwright.config.ts --project=chromium | |
| extension-firefox-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| - name: Enable Corepack | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@10.34.5 --activate | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Install Playwright Firefox | |
| run: pnpm -C apps/chrome-extension exec playwright install --with-deps firefox | |
| - name: Firefox extension smoke | |
| run: pnpm -C apps/chrome-extension test:firefox |