Skip to content

Commit 65c116a

Browse files
authored
ci: check ts performance of pull requests (#350)
1 parent 5fa24dd commit 65c116a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/performance.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: performance
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
check-performance:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
11+
- run: corepack enable
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 16
15+
cache: "pnpm"
16+
17+
- name: 📦 Install dependencies
18+
run: pnpm install --frozen-lockfile
19+
20+
- name: TSC diagnostics diff
21+
uses: beerose/tsc-diagnostics-diff-action@49bf67cb35cae2ba688d1e7dffe5f14acbb62406
22+
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
leave-comment: true

0 commit comments

Comments
 (0)