Skip to content

ci: add bundle size report #6695

ci: add bundle size report

ci: add bundle size report #6695

Workflow file for this run

name: Blade Validate
on: [pull_request]
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
jobs:
validate:
name: Validate Source Code
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner
steps:
- name: Checkout Codebase
uses: actions/checkout@v3
- name: Use Node v18
uses: actions/setup-node@v3
with:
node-version: 18.12.1
- name: Setup Cache & Install Dependencies
uses: ./.github/actions/install-dependencies
- name: Build Blade
run: yarn build
working-directory: packages/blade
- name: Lint Source Code
run: yarn lint
- name: Run TypeScript Checks
run: yarn typecheck
working-directory: packages/blade
test:
name: Run Tests (${{ matrix.shard }})
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner
strategy:
fail-fast: false
matrix:
shard: [1/4, 2/4, 3/4, 4/4]
steps:
- name: Checkout Codebase
uses: actions/checkout@v3
- name: Use Node v18
uses: actions/setup-node@v3
with:
node-version: 18.12.1
- name: Setup Cache & Install Dependencies
uses: ./.github/actions/install-dependencies
- name: Run Unit Tests
run: yarn test
working-directory: packages/blade
env:
SHARD: ${{ matrix.shard }}