You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
713 B
28 lines
713 B
name: "Bundle Size check @excalidraw/excalidraw" |
|
on: |
|
pull_request: |
|
branches: |
|
- master |
|
jobs: |
|
size: |
|
runs-on: ubuntu-latest |
|
env: |
|
CI_JOB_NUMBER: 1 |
|
steps: |
|
- name: Checkout repository |
|
uses: actions/checkout@v3 |
|
- name: Setup Node.js |
|
uses: actions/setup-node@v3 |
|
with: |
|
node-version: 20.x |
|
- name: Install in packages/excalidraw |
|
run: yarn |
|
working-directory: packages/excalidraw |
|
env: |
|
CI: true |
|
- uses: andresz1/size-limit-action@v1 |
|
with: |
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
build_script: build:esm |
|
skip_step: install |
|
directory: packages/excalidraw
|
|
|