Skip to content

Commit 1112012

Browse files
committed
refactor: Quote the script name
1 parent f7ab0e7 commit 1112012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# ];
3737
# SUMMARY = SUMMARY.split('\n')[5]; // 'Lines : 31.93% ( 38/119 )'
3838
# SUMMARY = SUMMARY.split(':')[1].split('(')[0].trim(); // '31.93%'
39-
SUMMARY="$(npm run test-ci | tail -2 | head -1)"
39+
SUMMARY="$(npm run 'test-ci' | tail -2 | head -1)"
4040
TOKENS=($SUMMARY)
4141
# process.env.COVERAGE = '31.93%';
4242
echo "COVERAGE=$(echo ${TOKENS[2]})" >> $GITHUB_ENV

0 commit comments

Comments
 (0)