diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3c68d2c..72e09b95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,9 @@ jobs: - name: Run app tests (Jest) run: yarn test:apps + - name: Run packages' tests (Jest & vitest) + run: yarn test:packages + - name: Test Brownfield CLI (version) run: | yarn workspace @callstack/react-native-brownfield brownfield --version diff --git a/package.json b/package.json index cb01337d..e8b1944a 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "lint": "turbo run lint", "typecheck": "turbo run typecheck", "build": "turbo run build", + "test:packages": "turbo run test --filter='./packages/*'", "test:apps": "turbo run test --filter='./apps/*'", "dev": "yarn workspaces foreach -Api run dev", "ci:version": "changeset version && yarn install --no-immutable && node --experimental-strip-types --no-warnings ./scripts/consolidate-changelog.ts",