2023-07-19 21:19:10 +05:30
|
|
|
name: "Bundle Size check @excalidraw/excalidraw"
|
2023-07-19 13:55:50 +05:30
|
|
|
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 18.x
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 18.x
|
2023-07-19 22:07:18 +05:30
|
|
|
- name: Install
|
|
|
|
run: yarn --frozen-lockfile
|
2023-12-12 11:32:51 +05:30
|
|
|
- name: Install in packages/excalidraw
|
2023-07-19 22:07:18 +05:30
|
|
|
run: yarn --frozen-lockfile
|
2023-12-12 11:32:51 +05:30
|
|
|
working-directory: packages/excalidraw
|
2023-07-19 13:55:50 +05:30
|
|
|
env:
|
|
|
|
CI: true
|
|
|
|
- uses: andresz1/size-limit-action@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
2023-07-19 22:07:18 +05:30
|
|
|
build_script: build:umd
|
2023-07-19 13:55:50 +05:30
|
|
|
skip_step: install
|
2023-12-12 11:32:51 +05:30
|
|
|
directory: packages/excalidraw
|