Add images size checking in PR (#281)

* Add images size checking in PR

* Fix typo

* Switched to POSIX shell

* More proper diff
This commit is contained in:
Daniil Leontiev
2021-03-21 22:16:01 +03:00
committed by GitHub
parent bd926ebbc1
commit a5605d6c46
2 changed files with 37 additions and 0 deletions

12
.github/workflows/pr.yaml vendored Normal file
View File

@@ -0,0 +1,12 @@
on: pull_request
jobs:
check_size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check file size
run: .github/workflows/scripts/check-size.sh