You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Transform the files to http://127.0.0.1:8080 URLs
77
-
LIGHTHOUSE_URLS=$(echo "${CHANGED_FILES}"| sed 's/src\/content/http:\/\/127.0.0.1:8080/g'| sed 's/\.md//g'| sed 's/\/base\//\/en\/2019\//g'| sed 's/src\/templates/http:\/\/127.0.0.1:8080/g'| sed 's/index\.html//g'| sed 's/\.html//g'| sed 's/_/-/g'| sed 's/\/2019\/accessibility-statement/\/accessibility-statement/g'| sed 's/\/2019\/search/\/search/g')
78
+
LIGHTHOUSE_URLS=$(echo "${CHANGED_FILES}"| sed 's/src\/content/http:\/\/127.0.0.1:8080/g'| sed 's/\.md//g'| sed 's/\/base\//\/en\/2019\//g'| sed 's/src\/templates/http:\/\/127.0.0.1:8080/g'| sed 's/index\.html//g'| sed 's/\.html//g'| sed 's/_/-/g'| sed 's/\/2019\/accessibility-statement/\/accessibility-statement/g'| sed 's/\/2019\/search/\/search/g'| sed 's/(http://.*)$/\1?nowebmentions/g')
79
+
80
+
# Temporarily remove chapters failing in Lighthouse - TODO Try removing this on next Lighthouse upgrade
LIGHTHOUSE_URLS=$(echo -e "${LIGHTHOUSE_URLS}\n${BASE_URLS}"| sort -u | sed '/^$/d')
81
85
82
86
else
83
87
84
88
# Else test every URL (except PDFs and Stories) in the sitemap
85
-
LIGHTHOUSE_URLS=$(grep loc templates/sitemap.xml | grep -v "/static/"| grep -v stories | sed 's/ *<loc>//g'| sed 's/<\/loc>//g'| sed 's/https:\/\/almanac.httparchive.org/http:\/\/127.0.0.1:8080/g')
89
+
LIGHTHOUSE_URLS=$(grep loc templates/sitemap.xml | grep -v "/static/"| grep -v stories | sed 's/ *<loc>//g'| sed 's/<\/loc>//g'| sed 's/https:\/\/almanac.httparchive.org/http:\/\/127.0.0.1:8080/g'| sed 's/$/?nowebmentions/g')
86
90
87
-
# Temporarily remove English CDN file as failing in Lighthouse - TODO Try removing this on next Lighthouse upgrade
0 commit comments