File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 4242 playwright : ${{ steps.filter.outputs.devserver || steps.filter.outputs.libraries || steps.filter.outputs.tabs }}
4343
4444 test :
45- name : Verify all tests pass and build success
45+ name : Verify that all tests, linting, type-checking and building succeeds.
4646 runs-on : ubuntu-latest
4747
4848 # execute after the paths-filter job is done
6262 node-version : 22
6363 cache : yarn
6464
65- - name : Setup Repotools
66- run : yarn workspaces focus @sourceacademy/modules-repotools && yarn workspaces foreach -A --include "@sourceacademy/modules-repotools" run build
65+ # - name: Setup Repotools
66+ # run: yarn workspaces focus @sourceacademy/modules-repotools && yarn workspaces foreach -A --include "@sourceacademy/modules-repotools" run build
6767
6868 - name : Install dependencies
6969 run : yarn install --immutable
Original file line number Diff line number Diff line change 3535 "lint:all" : " buildtools lintglobal && yarn lint:modules" ,
3636 "lint:inspect" : " yarn dlx eslint --inspect-config" ,
3737 "lint:modules" : " yarn workspaces foreach -j 5 -pW --from \" ./src/{bundles,tabs}\" run lint" ,
38- "preinstall" : " yarn build:libs" ,
3938 "prepare" : " husky" ,
4039 "run:bundles" : " yarn workspaces foreach -ptW --from \" ./src/bundles/*\" run" ,
4140 "serve" : " http-server --cors=* -c-1 -p 8022 ./build" ,
Original file line number Diff line number Diff line change 33import pathlib from 'path' ;
44import { coverageConfigDefaults , defineConfig } from 'vitest/config' ;
55
6+ const coverageReporters = [ 'html' , 'text' ] ;
7+ if ( process . env . GITHUB_ACTIONS ) {
8+ coverageReporters . push ( 'github-actions' ) ;
9+ }
10+
611export default defineConfig ( {
712 resolve : {
813 alias : [ {
@@ -20,7 +25,7 @@ export default defineConfig({
2025 clearMocks : true ,
2126 coverage : {
2227 provider : 'v8' ,
23- reporter : [ 'html' , 'text' ] ,
28+ reporter : coverageReporters ,
2429 exclude : [
2530 ...coverageConfigDefaults . exclude ,
2631 './build/**' ,
You can’t perform that action at this time.
0 commit comments