diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0e4fe5d39..8fc279809 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -46,6 +46,9 @@ jobs: - name: Install dependencies run: yarn --immutable + - name: Build dependencies + run: yarn build --cache-dir=".turbo" + - name: Build docs run: yarn docs --cache-dir=".turbo" diff --git a/turbo.json b/turbo.json index b02054463..abc82c698 100644 --- a/turbo.json +++ b/turbo.json @@ -4,7 +4,7 @@ "pipeline": { "build": { "dependsOn": ["^build"], - "outputs": ["dist/**", "docs/docs.json"] + "outputs": ["dist/**"] }, "test": { "dependsOn": ["^build"], @@ -19,7 +19,7 @@ }, "docs": { "dependsOn": ["^build"], - "outputs": ["docs/docs.json"] + "outputs": ["docs/docs.json", "docs/docs.api.json"] }, "changelog": { "dependsOn": ["^build"],