Skip to content

feat(instrumentation): warn when Next.js is loaded before dd-trace #2110

feat(instrumentation): warn when Next.js is loaded before dd-trace

feat(instrumentation): warn when Next.js is loaded before dd-trace #2110

Workflow file for this run

name: Electron
on:
pull_request:
push:
branches: [master]
schedule:
- cron: 0 4 * * *
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
macos:
runs-on: macos-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: ./.github/actions/node
with:
version: '24.15'
- uses: ./.github/actions/install
- run: yarn test:integration:electron
- uses: ./.github/actions/upload-junit-artifacts
if: "!cancelled()"
with:
id: ${{ github.job }}
ubuntu:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: ./.github/actions/node
with:
version: '24.15'
- uses: ./.github/actions/install
# Electron needs a display even for headless (show: false) windows.
# xvfb-run provides a virtual framebuffer so the test can run without a physical display.
- run: xvfb-run --auto-servernum yarn test:integration:electron
- uses: ./.github/actions/upload-junit-artifacts
if: "!cancelled()"
with:
id: ${{ github.job }}