Skip to content

Commit

Permalink
chore: use compressed-size-action instead of size-limit (#4509)
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky authored May 4, 2021
1 parent e505028 commit 1a234ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 757 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: 'size'
name: Compressed Size
on:
pull_request:
branches: [master, Swiper7]

jobs:
size:
build:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1

steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build:prod
repo-token: '${{ secrets.GITHUB_TOKEN }}'
build-script: build:prod
pattern: './package/**/*.{js,css}'
26 changes: 0 additions & 26 deletions .size-limit.js

This file was deleted.

Loading

0 comments on commit 1a234ea

Please sign in to comment.