File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run Jasmine Browser Tests
2+
3+ on :
4+ push :
5+ branches : [main, sync]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Set up Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 20'
21+
22+ - name : Install Firefox dependencies
23+ run : |
24+ sudo apt-get update
25+ sudo apt-get install -y libgtk-3-0 libdbus-glib-1-2
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Run Jasmine Browser Tests
31+ run : npx jasmine-browser-runner runSpecs
Original file line number Diff line number Diff line change 1111 "author" : " Jess Fairbairn" ,
1212 "license" : " ISC" ,
1313 "devDependencies" : {
14- "jasmine-browser-runner" : " ^2.3 .0" ,
15- "jasmine-core" : " ^5.1.1 " ,
14+ "jasmine-browser-runner" : " ^3.0 .0" ,
15+ "jasmine-core" : " ^5.6.0 " ,
1616 "karma" : " ^6.4.1" ,
1717 "karma-firefox-launcher" : " ^2.1.2" ,
1818 "karma-jasmine" : " ^5.1.0" ,
Original file line number Diff line number Diff line change 1515 "stopOnSpecFailure" : false ,
1616 "random" : true
1717 },
18+ "listenAddress" : " localhost" ,
19+ "hostname" : " localhost" ,
1820 "browser" : {
19- "name" : " firefox "
21+ "name" : " headlessFirefox "
2022 }
2123}
You can’t perform that action at this time.
0 commit comments