Skip to content

docs: convert examples to be functional components #326

docs: convert examples to be functional components

docs: convert examples to be functional components #326

Workflow file for this run

name: Bundle Size
on:
pull_request:
branches:
- master
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Cache node_modules
uses: actions/cache@v1
id: yarn-cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-yarn-cache-node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-cache-node-modules-
- name: Yarn install
if: steps.yarn-cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- uses: andresz1/[email protected]
with:
build_script: build:size
github_token: ${{ secrets.GITHUB_TOKEN }}