Open History to see the last commit
1name: E2E Opportunistic Matrix
2
3on:
4 schedule:
5 - cron: '0 8 * * *'
6 workflow_dispatch:
7
8concurrency:
9 group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
10 cancel-in-progress: true
11
12env:
13 NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
14
15permissions:
16 contents: read
17
18jobs:
19 matrix-e2e:
20 name: Matrix (${{ matrix.scenario }})
21 runs-on: ubuntu-latest
22 continue-on-error: true
23 strategy:
24 fail-fast: false
25 matrix:
26 scenario:
27 - react-base-pnpm
28 - react-base-npm
29 - solid-base-npm
30 - react-template-resume
31 - react-template-ecommerce
32 - react-addons-core-pnpm
33 - solid-addons-core-pnpm
34 - react-toolchain-deploy
35 steps:
36 - name: Checkout
37 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38 with:
39 fetch-depth: 0
40 persist-credentials: false
41 - name: Setup Tools
42 uses: tanstack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
43 - name: Install Playwright Chrome
44 run: pnpm --filter @tanstack/cli exec playwright install --with-deps chrome
45 - name: Run Matrix Scenario
46 env:
47 E2E_MATRIX_SCENARIO: ${{ matrix.scenario }}
48 run: pnpm nx run @tanstack/cli:test:e2e:matrix
49 - name: Upload Playwright Report
50 if: always()
51 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
52 with:
53 name: playwright-report-${{ matrix.scenario }}
54 path: packages/cli/playwright-report
55 if-no-files-found: ignore