Skip to content

Commit

Permalink
chore: add TypeScript conversion progress tracker (#6195)
Browse files Browse the repository at this point in the history
* chore: add TypeScript conversion progress tracker

* chore: update metric name

* chore: update metric name (again)
  • Loading branch information
eduardoboucas authored Nov 20, 2023
1 parent 7275667 commit b242f89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
run:
npm ls -a -p | wc -l | tr -d ' \n' > .delta.dependencyCount && echo " (Dependency count)" >>
.delta.dependencyCount
- name: Get TypeScript conversion progress
run:
grep -r --exclude-dir="node_modules" --include="*.mts" "@ts-expect-error" . | wc -l | xargs >
.delta.tsConversion && echo " (Number of ts-expect-error directives)" >> .delta.tsConversion
- name: Save PR number
if: github.event_name == 'pull_request'
run: echo ${{ github.event.number }} > ./pr_number
Expand Down

1 comment on commit b242f89

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,431
  • Package size: 438 MB
  • Number of ts-expect-error directives: 1,550

Please sign in to comment.