@@ -15,41 +15,40 @@ jobs:
1515 - run : npm install -g pa11y
1616 - run : pa11y snapshot.html --ignore WCAG2AA.Principle4.Guideline4_1.4_1_1.F77
1717
18- # links:
19- # name: Links
20- # runs-on: ubuntu-22.04
21- # steps:
22- # - uses: actions/checkout@v4
23- # - name: Recover HTML
24- # uses: actions/cache@v4
25- # with:
26- # path: ~/static
27- # key: snapshot-${{ github.sha }}
28- # - run: mv ~/static/snapshot.html snapshot.html
29- # - name: Serve Files
30- # uses: Eun/http-server-action@v1
31- # with:
32- # content-types: |
33- # {
34- # "css": "text/css",
35- # "html": "text/html",
36- # "ico": "image/x-icon",
37- # "jpeg": "image/jpeg",
38- # "jpg": "image/jpeg",
39- # "js": "text/javascript",
40- # "json": "application/json",
41- # "png": "image/png",
42- # "svg": "image/svg+xml",
43- # "txt": "text/plain",
44- # "xml": "text/xml"
45- # }
46- # - run: echo '/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin' >> $GITHUB_PATH
47- # - name: Install muffet
48- # run: brew install muffet
49- # - name: Check links
50- # run: >
51- # muffet
52- # --exclude '8080\/\S*\.pdf'
53- # --exclude '^https:\/\/gitdocumentatie.*(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?'
54- # --header 'user-agent:Curl' --ignore-fragments --one-page-only http://localhost:8080/snapshot.html
55- # --buffer-size 8192
18+ links :
19+ name : Links
20+ runs-on : ubuntu-22.04
21+ steps :
22+ - uses : actions/checkout@v4
23+ - name : Download snapshot artefact
24+ uses : actions/download-artifact@v4
25+ with :
26+ name : snapshot-files
27+ path : .
28+ - name : Serve Files
29+ uses : Eun/http-server-action@v1
30+ with :
31+ content-types : |
32+ {
33+ "css": "text/css",
34+ "html": "text/html",
35+ "ico": "image/x-icon",
36+ "jpeg": "image/jpeg",
37+ "jpg": "image/jpeg",
38+ "js": "text/javascript",
39+ "json": "application/json",
40+ "png": "image/png",
41+ "svg": "image/svg+xml",
42+ "txt": "text/plain",
43+ "xml": "text/xml"
44+ }
45+ - run : echo '/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin' >> $GITHUB_PATH
46+ - name : Install muffet
47+ run : brew install muffet
48+ - name : Check links
49+ run : >
50+ muffet
51+ --exclude '8080\/\S*\.pdf'
52+ --exclude '^https:\/\/gitdocumentatie.*(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?'
53+ --header 'user-agent:Curl' --ignore-fragments --one-page-only http://localhost:8080/snapshot.html
54+ --buffer-size 8192
0 commit comments