This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5050 uses : actions/upload-artifact@v4
5151 if : failure()
5252 with :
53- name : cypress-screenshots
53+ name : cypress-screenshots-broken-links
5454 path : cypress/screenshots
5555
5656 test-a11y :
7575 uses : actions/upload-artifact@v4
7676 if : failure()
7777 with :
78- name : cypress-screenshots
78+ name : cypress-screenshots-a11y
7979 path : cypress/screenshots
8080
8181 test-seo :
@@ -100,5 +100,5 @@ jobs:
100100 uses : actions/upload-artifact@v4
101101 if : failure()
102102 with :
103- name : cypress-screenshots
103+ name : cypress-screenshots-seo
104104 path : cypress/screenshots
Original file line number Diff line number Diff line change @@ -12,11 +12,15 @@ const PROD_PAGES_PATH = 'cypress/fixtures/prod_pages.json'
1212
1313async function run ( ) {
1414 try {
15+ const staticPages = basePages . map ( ( page ) => `/docs${ page } ` )
16+
1517 const docPages = allDocs . map ( ( doc ) => {
1618 return doc . slug === '/' ? '/docs' : `/docs/${ doc . slug } `
1719 } )
1820
19- const paths = [ ...basePages , ...docPages ] . sort ( ( a , b ) => a . localeCompare ( b ) )
21+ const paths = [ ...staticPages , ...docPages ] . sort ( ( a , b ) =>
22+ a . localeCompare ( b ) ,
23+ )
2024
2125 console . log ( `${ paths . length } paths found. Generating fixture` )
2226
You can’t perform that action at this time.
0 commit comments