Skip to content

(BSR) fix(CI): change condition var for firebase file #8833

(BSR) fix(CI): change condition var for firebase file

(BSR) fix(CI): change condition var for firebase file #8833

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