Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: coverage

on:
pull_request:
branches: [master, main]
push:
branches: [master, main]

permissions:
contents: read

jobs:
coverage:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test -- --coverage || true
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
32 changes: 32 additions & 0 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: size-limit

on:
pull_request:
branches: [main]

permissions:
contents: read
pull-requests: write

jobs:
size:
runs-on: ubuntu-latest
timeout-minutes: 5
# First install reports, doesn't block — main bundle currently exceeds
# the 350KB budget (~667KB) and the action's own npx-shell loses sight
# of the preset-app devDep. Once budget + invocation are tuned, flip
# this to required.
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- uses: andresz1/size-limit-action@v1
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
script: npm exec size-limit
Loading
Loading