mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
ci: fix building before generating docs
This commit is contained in:
3
.github/workflows/documentation.yml
vendored
3
.github/workflows/documentation.yml
vendored
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user