Brings the flow types up to date #141
Workflow file for this run
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: Check bundle size | |
# 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 | |
- name: Run size limit github action | |
uses: andresz1/size-limit-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |