Skip to content

Commit 1e08e02

Browse files
committed
Use workspace in CI
1 parent 5c9e9a3 commit 1e08e02

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/static-root-checks.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
if: github.repository == 'software-mansion/react-native-gesture-handler'
1616

1717
runs-on: ubuntu-latest
18-
env:
19-
WORKING_DIRECTORY: packages/react-native-gesture-handler
2018
concurrency:
2119
group: static-root-${{ github.ref }}
2220
cancel-in-progress: true
@@ -35,13 +33,10 @@ jobs:
3533
run: yarn --immutable
3634

3735
- name: Check types
38-
working-directory: ${{ env.WORKING_DIRECTORY }}
39-
run: yarn ts-check
36+
run: yarn workspace react-native-gesture-handler ts-check
4037

4138
- name: Lint
42-
working-directory: ${{ env.WORKING_DIRECTORY }}
43-
run: yarn lint-js
39+
run: yarn workspace react-native-gesture-handler lint-js
4440

4541
- name: Check for circular dependencies
46-
working-directory: ${{ env.WORKING_DIRECTORY }}
47-
run: yarn circular-dependency:check
42+
run: yarn workspace react-native-gesture-handler circular-dependency-check

0 commit comments

Comments
 (0)