Skip to content

Commit

Permalink
Add size limit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Dec 6, 2022
1 parent f24637b commit 700b2ec
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Performance

on:
pull_request:
paths: ['dist/**']

workflow_dispatch:

jobs:
install:
name: Install
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
uses: ./.github/workflows/actions/install-node

size:
name: Size Limit
runs-on: ubuntu-latest
needs: [install]

strategy:
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Restore dependencies
uses: ./.github/workflows/actions/install-node

- name: Run size-limit
run: npm run size
261 changes: 261 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 700b2ec

Please sign in to comment.