ci: add readmes to build output for cache

This commit is contained in:
iCrawl
2023-11-13 00:15:44 +01:00
parent b305194841
commit 2d63d93558
2 changed files with 13 additions and 6 deletions

View File

@@ -48,6 +48,7 @@
"@discordjs/website#build:local": {
"dependsOn": ["^build", "^docs"],
"inputs": [
"../../packages/*/README.md",
"public/**",
"src/**",
"scripts/**",
@@ -58,12 +59,13 @@
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**"],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
"outputMode": "full"
},
"@discordjs/website#build:prod": {
"dependsOn": ["^build"],
"inputs": [
"../../packages/*/README.md",
"public/**",
"src/**",
"scripts/**",
@@ -74,7 +76,7 @@
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**"],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
"outputMode": "full"
},
"@discordjs/guide#generate:contentlayer": {