chore(deps): upgrade detox to ^20.28.0 #32505
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: Test | |
on: | |
# Run on pushes to main.. | |
push: | |
branches: | |
- main | |
# ..any pull request and merge queue | |
pull_request: | |
merge_group: | |
# Cancel any in progress run of the workflow for a given PR | |
# This avoids building outdated code | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
mobile: | |
name: Mobile | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/yarn-install | |
- name: Build | |
run: yarn build | |
- name: Update RootStateSchema if necessary | |
run: yarn test:update-root-state-schema | |
- name: Fail if someone forgot to commit "RootStateSchema.json" | |
run: git diff --exit-code | |
- name: Run mobile tests | |
run: | | |
mkdir -p test-results/jest | |
yarn test:ci | |
- name: Upload Coverage Report | |
uses: actions/upload-artifact@v4 | |
with: | |
path: coverage/lcov-report | |
- name: 'Upload to Codecov' | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |