(BSR) fix(test): change date mock #9409
Workflow file for this run
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: 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 |