Skip to content

improving esm support #119

improving esm support

improving esm support #119

name: Check bundle size (new)
# This workflow only supported on pull requests
on: pull_request
jobs:
# This workflow contains a single job called "size"
size-limit:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
# Using node action to manage caching node_modules
cache: 'yarn'
# The size limit github action
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}