[PR #4865] [CLOSED] ci: add size limit check #5626

Closed
opened 2026-03-13 12:29:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4865
Author: @himself65
Created: 9/23/2025
Status: Closed

Base: canaryHead: himself65/2025/09/23/size-limit


📝 Commits (7)

  • 32f17fd ci: add size limit check
  • 2a1a9f4 ci: add size limit check
  • 0d28124 ci: update env
  • 21013ec fix: skip install
  • 30f99f9 ci: update size-limit-action to use pnpm
  • 70fdd40 ci: add size-limit as a devDependency
  • 0aff537 ci: add size-limit preset and configuration to package.json

📊 Changes

4 files changed (+468 additions, -17 deletions)

View changed files

📝 .github/workflows/e2e.yml (+43 -9)
📝 e2e/smoke/test/fixtures/cloudflare/package.json (+1 -1)
📝 e2e/smoke/test/fixtures/vite/package.json (+9 -2)
📝 pnpm-lock.yaml (+415 -5)

📄 Description

Summary by cubic

Add a CI size-limit check to catch bundle size regressions by building the Vite fixture and running Size Limit. The job runs only on the main repo to avoid failures on forks.

  • New Features
    • Added size-limit job to e2e workflow: installs deps, builds @better-auth/vite-fixture, then runs andresz1/size-limit-action on e2e/smoke/test/fixtures/vite.
    • Added size-limit config (dist/*.js) in e2e/smoke/package.json.
    • Renamed fixtures to scoped packages (@better-auth/cloudflare, @better-auth/vite-fixture) for Turbo filter compatibility.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4865 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/23/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/09/23/size-limit` --- ### 📝 Commits (7) - [`32f17fd`](https://github.com/better-auth/better-auth/commit/32f17fdcf2ece16669245c91f786ddc21e950149) ci: add size limit check - [`2a1a9f4`](https://github.com/better-auth/better-auth/commit/2a1a9f465249e4cb51f67970acf7bebabf040673) ci: add size limit check - [`0d28124`](https://github.com/better-auth/better-auth/commit/0d281244912fa966bd1c6c4954e3e03f1c8085cd) ci: update env - [`21013ec`](https://github.com/better-auth/better-auth/commit/21013ecf422351995f55ad8dbc070d0e74186fbd) fix: skip install - [`30f99f9`](https://github.com/better-auth/better-auth/commit/30f99f907b606d0a43a56fb190701c23c2c06bf2) ci: update size-limit-action to use pnpm - [`70fdd40`](https://github.com/better-auth/better-auth/commit/70fdd40aca0cffdc0bee45b36ffa50ec18b316b8) ci: add size-limit as a devDependency - [`0aff537`](https://github.com/better-auth/better-auth/commit/0aff5372db515d7e63926798e44fe6fa63156d64) ci: add size-limit preset and configuration to package.json ### 📊 Changes **4 files changed** (+468 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/e2e.yml` (+43 -9) 📝 `e2e/smoke/test/fixtures/cloudflare/package.json` (+1 -1) 📝 `e2e/smoke/test/fixtures/vite/package.json` (+9 -2) 📝 `pnpm-lock.yaml` (+415 -5) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add a CI size-limit check to catch bundle size regressions by building the Vite fixture and running Size Limit. The job runs only on the main repo to avoid failures on forks. - **New Features** - Added size-limit job to e2e workflow: installs deps, builds @better-auth/vite-fixture, then runs andresz1/size-limit-action on e2e/smoke/test/fixtures/vite. - Added size-limit config (dist/*.js) in e2e/smoke/package.json. - Renamed fixtures to scoped packages (@better-auth/cloudflare, @better-auth/vite-fixture) for Turbo filter compatibility. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:29:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5626