Skip to content

(BSR) fix(test): change date mock #9409

(BSR) fix(test): change date mock

(BSR) fix(test): change date mock #9409

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: Install dependencies
run: yarn install --force
- name: Run performance testing script
run: yarn test:perf
- 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