fix(π): Fix reanimated regression #5031
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- directory: "example" | |
- directory: "fabricexample" | |
env: | |
WORKING_DIRECTORY: ./ | |
concurrency: | |
group: tests-${{ matrix.directory }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install clang-format | |
run: sudo apt-get install -y clang-format | |
- name: Run clang-format-ios | |
run: yarn clang-format-ios --dry-run --Werror | |
- name: Run clang-format-android | |
run: yarn clang-format-android --dry-run --Werror | |
- name: Run clang-format-common | |
run: yarn clang-format-common --dry-run --Werror | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'yarn' | |
- name: Install root node dependencies | |
run: yarn install --frozen-lockfile | |
- name: Typecheck the build scripts | |
run: yarn tsc | |
- name: Install Package | |
run: cd package; yarn install --frozen-lockfile | |
- name: Lint Package | |
run: cd package; yarn lint; | |
- name: TypeScript Package | |
run: cd package; yarn tsc; | |
- name: Run Package Unit tests | |
run: cd package; yarn test; | |
- name: Install Example/Fabric Example | |
run: cd ${{ matrix.directory }}; yarn install --frozen-lockfile | |
- name: Lint Example/Fabric Example | |
run: cd ${{ matrix.directory }}; yarn lint; | |
- name: TypeScript Example/Fabric Example | |
run: cd ${{ matrix.directory }}; yarn tsc; | |
- name: Run Example/Fabric Example Unit tests | |
run: cd ${{ matrix.directory }}; yarn test; | |
- name: Install Docs | |
run: cd docs; yarn install --frozen-lockfile | |
- name: TypeScript Example Docs | |
run: cd docs; yarn build; |