Skip to content

Commit d615310

Browse files
authored
ci: run unit tests in packages (#400)
1 parent 4088c01 commit d615310

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ jobs:
9797
- name: Run app tests (Jest)
9898
run: yarn test:apps
9999

100+
- name: Run packages' tests (Jest & vitest)
101+
run: yarn test:packages
102+
100103
- name: Test Brownfield CLI (version)
101104
run: |
102105
yarn workspace @callstack/react-native-brownfield brownfield --version

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"lint": "turbo run lint",
1212
"typecheck": "turbo run typecheck",
1313
"build": "turbo run build",
14+
"test:packages": "turbo run test --filter='./packages/*'",
1415
"test:apps": "turbo run test --filter='./apps/*'",
1516
"dev": "yarn workspaces foreach -Api run dev",
1617
"ci:version": "changeset version && yarn install --no-immutable && node --experimental-strip-types --no-warnings ./scripts/consolidate-changelog.ts",

0 commit comments

Comments
 (0)