Skip to content

Fix eslint config #7038

Fix eslint config

Fix eslint config #7038

name: Test TypeScript and Lint in root
env:
YARN_ENABLE_HARDENED_MODE: 0
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@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
- name: Clear annotations
run: scripts/clear-annotations.sh
- name: Install node dependencies
run: yarn
- name: Build package
run: yarn build
- 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: Check use strict
run: yarn use_strict_check
- name: Run jest unit tests
run: yarn test:unit