File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 6666 with :
6767 # Chromatic automatically defaults to the test-results directory.
6868 # Replace with the path to your custom directory and adjust the CHROMATIC_ARCHIVE_LOCATION environment variable accordingly.
69- name : test-results
70- path : ./test-results
69+ name : playwright-report-${{ matrix.shard }}_${{ strategy.job-total }}
70+ path : ./test-results/chromatic-archives
7171 retention-days : 30
7272
7373 chromatic :
@@ -88,15 +88,12 @@ jobs:
8888 - name : Download Playwright test results
8989 uses : actions/download-artifact@v4
9090 with :
91- name : test-results
92- path : ./test-results
91+ path : ./test-results/chromatic-archives
92+ pattern : playwright-report-*
93+ merge-multiple : true
9394
94- - name : Run Chromatic
95+ - name : Run Chromatic tests
9596 uses : chromaui/action@latest
9697 with :
97- # ⚠️ Enable Playwright
98- playwright : true
99- # ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
10098 projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
101- # ⚠️ Optionally configure the archive location with env vars
102- env : CHROMATIC_ARCHIVE_LOCATION=./test-results
99+ playwright : true
You can’t perform that action at this time.
0 commit comments