File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ jobs:
29
29
- run : pnpm lint
30
30
- run : pnpm build
31
31
- run : pnpm vitest ${{ matrix.testenv.args }}
32
+
32
33
benchmarks :
33
34
runs-on : ubuntu-latest
34
35
timeout-minutes : 10
35
36
permissions :
36
37
contents : write
38
+ pull-requests : write
37
39
steps :
38
40
- uses : actions/checkout@v4
39
41
- uses : wyvox/action-setup-pnpm@v3
48
50
github-token : ${{ secrets.GITHUB_TOKEN }}
49
51
comment-on-alert : true
50
52
summary-always : true
53
+
54
+ # #
55
+ # NOTE: in ration is <1, the performance has improved.
56
+ - uses : mshick/add-pr-comment@v2
57
+ with :
58
+ message : |
59
+ ## Benchmarks[^note]
60
+
61
+ Results for the latest run for this branch:
62
+
63
+ https://github.com/proposal-signals/signal-polyfill/actions/runs/${{ github.run_id }}
64
+
65
+ ---------------
66
+
67
+ Compare with `main` over time:
68
+
69
+ https://proposal-signals.github.io/signal-polyfill/dev/bench/
70
+
71
+ [^note]: When the ratio is < 1, performance has improved in the PR.
You can’t perform that action at this time.
0 commit comments