ci: fix building before generating docs

This commit is contained in:
iCrawl
2022-06-30 15:56:07 +02:00
parent b2776c22d4
commit ce9afbb8e4
2 changed files with 5 additions and 2 deletions

View File

@@ -46,6 +46,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: yarn --immutable run: yarn --immutable
- name: Build dependencies
run: yarn build --cache-dir=".turbo"
- name: Build docs - name: Build docs
run: yarn docs --cache-dir=".turbo" run: yarn docs --cache-dir=".turbo"

View File

@@ -4,7 +4,7 @@
"pipeline": { "pipeline": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**", "docs/docs.json"] "outputs": ["dist/**"]
}, },
"test": { "test": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
@@ -19,7 +19,7 @@
}, },
"docs": { "docs": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["docs/docs.json"] "outputs": ["docs/docs.json", "docs/docs.api.json"]
}, },
"changelog": { "changelog": {
"dependsOn": ["^build"], "dependsOn": ["^build"],