Skip to content

Commit

Permalink
fix(ci): fix common build on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Nov 28, 2024
1 parent a16f56b commit 3f45950
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
path: packages/backend/coverage

common:
name: Domifa Common package unit tests
name: Common package unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -68,10 +68,13 @@ jobs:
with:
node-version: "lts/*"

- name: Set up Yarn cache
uses: c-hive/gha-yarn-cache@v2

- name: Build common dependencies
run: yarn workspace @domifa/common build

- name: Run front-end tests
- name: Run common tests
run: yarn workspace @domifa/common test --coverage --detectOpenHandles --forceExit

- name: Archive code coverage
Expand Down
1 change: 0 additions & 1 deletion packages/backend/src/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ export * from "./file-manager";
export * from "./functions";
export * from "./logs";
export * from "./phone";
export * from "./search";
export * from "./sentry";
export * from "./territoires";

0 comments on commit 3f45950

Please sign in to comment.