CI to detect broken URLs in source code #4490
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: Test TypeScript and Lint | |
on: | |
pull_request: | |
merge_group: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
if: github.repository == 'software-mansion/react-native-reanimated' | |
runs-on: ubuntu-latest | |
concurrency: | |
group: static-root-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- name: Clear annotations | |
run: scripts/clear-annotations.sh | |
- name: Install node dependencies | |
run: yarn | |
- name: Check types | |
run: yarn type:check:all | |
- name: Lint | |
run: yarn lint:js | |
- name: Find unused code | |
run: yarn find-unused-code:js | |
- name: Find circular dependencies | |
run: yarn circular_dependency_check | |
- name: Run jest unit tests | |
run: yarn test:unit |