File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Accessibility Audit
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ lhci :
7
+ name : Lighthouse
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Use Node.js 10.x
12
+ uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 10.x
15
+ - name : npm install, build
16
+ run : |
17
+ npm install
18
+ npm run build
19
+ - name : run Lighthouse CI
20
+ run : |
21
+ npm install -g @lhci/cli@0.4.x
22
+ lhci autorun
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ ci : {
3
+ upload : {
4
+ target : 'temporary-public-storage' ,
5
+ } ,
6
+ assert : {
7
+ preset : "lighthouse:no-pwa" ,
8
+ assertions : {
9
+ "font-display" : "off" ,
10
+ "uses-rel-preconnect" : "off" ,
11
+ "render-blocking-resources" : "off" ,
12
+ "uses-long-cache-ttl" : "off"
13
+ }
14
+ }
15
+ } ,
16
+ } ;
You can’t perform that action at this time.
0 commit comments