diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf103c225..4929be44a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,5 +26,8 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Build project + run: pnpm run build + - name: Run tests run: pnpm run test diff --git a/turbo.json b/turbo.json index 33100bcd4..d79846eed 100644 --- a/turbo.json +++ b/turbo.json @@ -2,6 +2,7 @@ "$schema": "https://turbo.build/schema.json", "pipeline": { "build": { + "dependsOn": ["^build"], "outputs": ["dist/**", "types/**"] }, "test": {}