Skip to content

Import SDK charts

Import SDK charts #37

Workflow file for this run

name: Bundle size
on: [pull_request]
jobs:
run-builds:
name: Run builds
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install React dependencies
working-directory: ./react
run: npm ci
- name: Run React build web
working-directory: ./react
run: npm run build-web
- name: Run React build
working-directory: ./react
run: npm run build
- name: Diff bundle sizes
uses: preactjs/compressed-size-action@v2
with:
cwd: react