Skip to content

Commit

Permalink
Fix adding missing name key
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 authored Sep 20, 2023
1 parent 8d41030 commit de77c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Create dist/*.js size json
run: |
find ./dist -type f -printf '%s %f\n' \
| jq -n -R '{name: "dist_size", key: "dist_size", metrics: [inputs | capture("(?<value>\\S+)\\s+(?<key>.+)") + {unit: "byte"} | .value |= tonumber ]}' \
| jq -n -R '{name: "dist_size", key: "dist_size", metrics: [inputs | capture("(?<value>\\S+)\\s+(?<key>.+)") + {unit: "byte"} | .value |= tonumber | .name = .key ]}' \
> dist_js_sizes.json
cat dist_js_sizes.json
# octocov must needs some coverage files but this job don't exec test, so put dummy file.
Expand Down

0 comments on commit de77c39

Please sign in to comment.