(PC-32033) feat(Poc): bundle splitting #8812
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: '3 [on_pr] Run Reassure performance tests' | |
on: | |
pull_request: | |
branches: [master] # Trigger this workflow only when a PR targets master | |
jobs: | |
test-performance: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Run performance testing script | |
run: ./scripts/reassure_test.sh | |
- name: Run Danger.js to publish scores in PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: yarn danger ci | |
- name: Check if render count increased, fail if so | |
run: ./scripts/reassure_test_check.sh |