fix new tab opens when downloading offline #11998
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: Reassure Performance Tests | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches-ignore: [staging, production] | |
jobs: | |
perf-tests: | |
if: ${{ github.actor != 'OSBotify' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: Expensify/App/.github/actions/composite/setupNode@main | |
- name: Run performance testing script | |
shell: bash | |
run: | | |
set -e | |
BASELINE_BRANCH=${BASELINE_BRANCH:="main"} | |
git fetch origin "$BASELINE_BRANCH" --no-tags --depth=1 | |
git switch "$BASELINE_BRANCH" | |
npm install --force | |
npx reassure --baseline | |
git switch --force --detach - | |
npm install --force | |
npx reassure --branch | |
- name: Read output.json | |
id: reassure | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: .reassure/output.json | |
- name: Validate output.json | |
id: validateReassureOutput | |
uses: Expensify/App/.github/actions/javascript/validateReassureOutput@main | |
with: | |
DURATION_DEVIATION_PERCENTAGE: 20 | |
COUNT_DEVIATION: 0 | |
REGRESSION_OUTPUT: ${{ steps.reassure.outputs.content }} | |