File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 7070 strategy :
7171 matrix :
7272 node_version : " ${{ fromJSON(inputs.test_matrix_node_version) }}"
73- # defaults:
74- # run:
75- # working-directory: ${{ env.UNDER_TEST_FOLDER }}
73+ defaults :
74+ run :
75+ working-directory : ${{ env.UNDER_TEST_FOLDER }}
7676 steps :
7777 - uses : actions/checkout@v4
7878 with :
@@ -109,13 +109,10 @@ jobs:
109109 run : |
110110 sudo apt update
111111 sudo apt install ${{ inputs.additional_system_deps }}
112+ - name : Install modules
113+ run : yarn
112114 - name : Run tests
113- run : |
114- ls -al;
115- cd ${{ env.UNDER_TEST_FOLDER }};
116- ls -al;
117- yarn;
118- yarn run test;
115+ run : yarn run test
119116 - name : Check test coverage
120117 if : ${{ inputs.run_coverage && github.base_ref != '' }}
121118 uses : joshuali925/Jest-Coverage-Diff@custom-directory
@@ -124,7 +121,6 @@ jobs:
124121 delta : 0.2
125122 afterSwitchCommand : yarn
126123 accessToken : ${{ secrets.WORKFLOW_PAT }}
127- # runCommand: yarn jest --coverage --collectCoverage=true --coverageReporters='json-summary' --coverageDirectory='./'
128124 directory : ${{ env.UNDER_TEST_FOLDER }}
129125 - name : Additional commands
130126 if : ${{ inputs.additional_steps != '' }}
You can’t perform that action at this time.
0 commit comments