Skip to content

Commit

Permalink
chi: move size job into its own workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Nov 7, 2022
1 parent 4c1843c commit 58e0028
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,4 @@ jobs:
- run: pnpm install

- name: Lint codebase
run: pnpm run lint

size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run lint
15 changes: 15 additions & 0 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "size"
on:
pull_request:
branches:
- main
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 58e0028

Please sign in to comment.