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