name: E2E Test (Builder) on: pull_request: branches: [main] merge_group: workflow_dispatch: jobs: e2e-test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 1 - name: Nx Cache id: nx-cache uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3 with: path: .nx/cache key: nx-${{ github.ref_name }}-${{ github.sha }} restore-keys: | nx-${{ github.ref_name }}- nx- - name: Install Pnpm run: npm i -g --force corepack && corepack enable - name: Setup Node.js 22 uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3 with: node-version: '22' cache: 'pnpm' - name: Install Dependencies run: pnpm install - name: Test run: pnpm run test:builder - name: Test Modern.js Storybook integration env: PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: pnpm --dir tests test:storybook