Skip to content

Commit

Permalink
add new actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Dec 18, 2024
1 parent a32da6f commit 1b44601
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/_performance-budget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Performance checks"

on:
workflow_call:

permissions:
pull-requests: write

jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v4
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: ./apps/spotlight
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: ./packages/design
11 changes: 11 additions & 0 deletions .github/workflows/monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Run tests'

on:
push:
branches:
- main
pull_request:

jobs:
performance-budget:
uses: ./.github/workflows/_performance-budget.yml

0 comments on commit 1b44601

Please sign in to comment.