Skip to content

Commit b3cd990

Browse files
committed
Cleanup
1 parent a34d733 commit b3cd990

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/typescript-ci.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
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 != '' }}

0 commit comments

Comments
 (0)