feat: eme controller #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "limit-size" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
verify-bundle-sizes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# install node version from .nvmrc | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
# install dependencies | |
- name: Install Dependencies | |
run: npm ci | |
- name: Size Limit Json | |
uses: andresz1/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
skip_step: install | |
build_script: size-limit:json | |
package_manager: npm | |
script: node cli/prepare-size-limit.js |