Skip to content

Bump eslint-plugin-import from 2.31.0 to 2.32.0 #17

Bump eslint-plugin-import from 2.31.0 to 2.32.0

Bump eslint-plugin-import from 2.31.0 to 2.32.0 #17

Workflow file for this run

name: CI — SDKs
on:
push:
branches: [main]
paths:
- 'sdk/**'
- 'packages/sourcemap-uploader/**'
- 'yarn.lock'
pull_request:
paths:
- 'sdk/**'
- 'packages/sourcemap-uploader/**'
- 'yarn.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build & Test SDKs
runs-on: [self-hosted, Linux, holdfast]
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
# cache handled by self-hosted runner
- name: Install dependencies
run: yarn install --immutable
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- name: Build rrweb (core + all plugins)
run: |
yarn turbo run build --filter='rrweb...'
yarn turbo run build --filter='@rrweb/*' --filter='!@rrweb/web-extension'
- name: Build SDKs (tier order)
run: |
# Tier 1 — leaf packages
yarn workspace @holdfast-io/browser build
yarn workspace @holdfast-io/cloudflare build
yarn workspace @holdfast-io/sourcemap-uploader build
# Tier 2 — depends on @holdfast-io/browser
yarn workspace @holdfast-io/node build
yarn workspace @holdfast-io/react build
# Tier 3 — depends on node/react
yarn workspace @holdfast-io/apollo build
yarn workspace @holdfast-io/hono build
yarn workspace @holdfast-io/nest build
yarn workspace @holdfast-io/pino build
yarn workspace @holdfast-io/remix build
# Tier 4 — depends on everything
yarn workspace @holdfast-io/next build
- name: Test highlight-node
run: yarn workspace @holdfast-io/node test --run
- name: Test highlight-run
run: yarn workspace @holdfast-io/browser test --run
continue-on-error: true # some tests need built rrweb plugins
- name: Upload build artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: sdk-builds
path: |
sdk/*/dist/
sdk/*/lib/
retention-days: 1