-
-
Notifications
You must be signed in to change notification settings - Fork 8
Migrate from bundlesize to size-limit #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,9 +8,9 @@ jobs: | |
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Use Node.js ${{ matrix.node_version }} | ||
| uses: actions/setup-node@v2 | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js 22 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| - name: Prepare env | ||
|
|
@@ -23,9 +23,9 @@ jobs: | |
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Use Node.js ${{ matrix.node_version }} | ||
| uses: actions/setup-node@v2 | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js 22 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| - name: Prepare env | ||
|
|
@@ -38,9 +38,9 @@ jobs: | |
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Use Node.js ${{ matrix.node_version }} | ||
| uses: actions/setup-node@v2 | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js 22 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| - name: Prepare env | ||
|
|
@@ -49,3 +49,20 @@ jobs: | |
| run: yarn start test | ||
| - name: Run code coverage | ||
| uses: codecov/codecov-action@v2.1.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial 🧩 Analysis chain🌐 Web query:
💡 Result: As of February 11, 2026, the latest released/tagged version of Recommended usage: Sources: Citations:
🌐 Web query:
💡 Result: codecov/codecov-action v5 — notable improvements, features, and security changesImprovements / features
Security-related changes
Sources: GitHub repo README (v5 release + inputs + OIDC + integrity/validation knobs) [1]; GitHub releases notes (v5.5.0 hardening) [2]; GitHub releases notes (v5.5.2 GPG/skip-validation behavior) [3]; GitHub releases notes (v5.2.0 telemetry disable) [4]. Consider updating codecov action to v5 for security and modernization benefits. The 🤖 Prompt for AI Agents |
||
|
|
||
| size: | ||
| name: Bundle Size Check | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js 22 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| - name: Prepare env | ||
| run: yarn install --ignore-scripts --frozen-lockfile | ||
| - name: Build | ||
| run: yarn start build | ||
| - name: Check bundle size | ||
| run: npx size-limit | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
Uh oh!
There was an error while loading. Please reload this page.