File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Manual - Run test against url"
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ url :
6+ description : ' Webpage url to test'
7+ required : true
8+ default : ' https://webperf.se/'
9+ type : string
10+ env :
11+ TEST_TAG : webperfse/webperf-core:test
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Use Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 20.x'
21+ - name : Install latest Chrome
22+ run : |
23+ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
24+ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
25+ sudo apt-get update
26+ sudo apt-get --only-upgrade install google-chrome-stable
27+ google-chrome --version
28+ - name : Browser versions
29+ run : |
30+ google-chrome --version
31+ - name : Install sitespeed.io
32+ run : |
33+ npm install sitespeed.io -g
34+ cd ../plugin-accessibility-statement
35+ npm install
36+ - name : Start local HTTP server
37+ run : (npm run start-server&)
38+ - name : Lint
39+ run : npm run lint
40+ - name : Show sitespeed.io version
41+ run : sitespeed.io --version
42+ - name : Run tests using plugin
43+ run : sitespeed.io --plugins.add ./lib/index.js --browsertime.chrome.includeResponseBodies all --xvfb -n 1 --allystatement.terminal.showresults true ${{ github.event.inputs.url }}
You can’t perform that action at this time.
0 commit comments