Skip to content

updating to use public npm registry for dev dependencies #125

updating to use public npm registry for dev dependencies

updating to use public npm registry for dev dependencies #125

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 }}