use emd/cmd for js.yml
This commit is contained in:
parent
f06bcccce0
commit
0158bd64a6
1 changed files with 5 additions and 4 deletions
9
.github/workflows/js.yml
vendored
9
.github/workflows/js.yml
vendored
|
|
@ -25,10 +25,11 @@ jobs:
|
||||||
run: bunx howfat -d -p --reporter table --sort size-
|
run: bunx howfat -d -p --reporter table --sort size-
|
||||||
- name: dep-size qnm (flat list as in node_modules)
|
- name: dep-size qnm (flat list as in node_modules)
|
||||||
run: |
|
run: |
|
||||||
echo '```console' >> "$GITHUB_STEP_SUMMARY"
|
emd() { echo "$@" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
echo '$ npx --yes qnm doctor' >> "$GITHUB_STEP_SUMMARY"
|
cmd() { echo "\$ $@" | tee -a "$GITHUB_STEP_SUMMARY"; "$@" | tee -a "$GITHUB_STEP_SUMMARY"; }
|
||||||
npx --yes qnm doctor | tee -a "$GITHUB_STEP_SUMMARY"
|
emd '```console'
|
||||||
echo '```' >> "$GITHUB_STEP_SUMMARY"
|
cmd npx --yes qnm doctor
|
||||||
|
emd '```'
|
||||||
# - name: dep-size cost-of-modules # this says total 8.37MB while du says 75MB...
|
# - name: dep-size cost-of-modules # this says total 8.37MB while du says 75MB...
|
||||||
# run: npx --yes npx cost-of-modules --include-dev --no-install
|
# run: npx --yes npx cost-of-modules --include-dev --no-install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue