Skip to content

docs: fix broken links and generation tweaks (#108) #596

docs: fix broken links and generation tweaks (#108)

docs: fix broken links and generation tweaks (#108) #596

Workflow file for this run

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:
packages-divvi-mobile:
name: packages/@divvi/mobile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/yarn-install
- name: Build
run: yarn build
working-directory: packages/@divvi/mobile
- name: Update RootStateSchema if necessary
run: yarn test:update-root-state-schema
working-directory: packages/@divvi/mobile
- name: Fail if someone forgot to commit "RootStateSchema.json"
run: git diff --exit-code
working-directory: packages/@divvi/mobile
- name: Run mobile tests
run: |
mkdir -p test-results/jest
yarn test:ci
working-directory: packages/@divvi/mobile
- 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 }}
apps-example:
name: apps/example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/yarn-install
- name: Typecheck
run: yarn typecheck
working-directory: apps/example