File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,11 +85,14 @@ jobs:
8585 # for headfull chrome
8686 - name : Install xvfb
8787 run : sudo apt-get install xvfb
88+ - name : Clear jest cache
89+ run : npx jest --clear-cache
8890 - name : Run all tests
8991 if : ${{ github.event_name != 'schedule' }} # don't wrap on schedule
9092 uses : mattallty/jest-github-action@v1
9193 with :
9294 test-command : xvfb-run --auto-servernum npm run test -- --ci
95+ coverage-comment : false
9396 env :
9497 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9598 YT_API_KEY : ${{ secrets.YOUTUBE_KEY }}
@@ -144,6 +147,8 @@ jobs:
144147 version : 6.0.2
145148 run_install : true
146149
150+ - name : Clear jest cache
151+ run : npx jest --clear-cache
147152 - name : Generate coverage
148153 run : npm run coverage
149154 env :
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "description" : " Enhancer for Nebula. Adds some quality of life features to the nebula player." ,
66 "scripts" : {
7- "test" : " jest --runInBand --no-cache " ,
8- "test:unit" : " jest --selectProjects unit --no-cache " ,
9- "test:ee" : " jest --selectProjects integration --runInBand --no-cache " ,
7+ "test" : " jest --runInBand" ,
8+ "test:unit" : " jest --selectProjects unit" ,
9+ "test:ee" : " jest --selectProjects integration --runInBand" ,
1010 "test:watch" : " jest --watch --notify" ,
1111 "coverage" : " jest --selectProjects unit --coverage" ,
1212 "prebuild" : " npm run clean && npm run build:all" ,
You can’t perform that action at this time.
0 commit comments