Skip to content

Commit a6e26bd

Browse files
committed
move size job to ci workflow
1 parent 98a22af commit a6e26bd

File tree

2 files changed

+15
-20
lines changed

2 files changed

+15
-20
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [main]
66
pull_request:
77
workflow_call:
8+
permissions:
9+
pull-requests: write
810

911
jobs:
1012
install:
@@ -146,3 +148,16 @@ jobs:
146148
- name: Vitest tests
147149
run: pnpm test
148150
working-directory: codemod/zod-to-valibot
151+
152+
size:
153+
runs-on: ubuntu-latest
154+
env:
155+
CI_JOB_NUMBER: 1
156+
steps:
157+
- uses: actions/checkout@v4
158+
- uses: EskiMojo14/size-limit-action@v2
159+
with:
160+
directory: library
161+
github_token: ${{ secrets.GITHUB_TOKEN }}
162+
package_manager: pnpm
163+
size_margin: non-zero

.github/workflows/size.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)