ci: Use turbo remote cache (#4666)

* Use a turbo remote cache server for CI

`rharkor/caching-for-turbo` uses github actions cache to provide a remote cache server for turbo, so we can use previuously created cache if available and requested by turbo, and this doesn't have the downside of having the cache growing indefinitely like with normal github actions cache as since the single caches are uploaded to the github actions cache, github can evict the old cache when it's not used or there is no space left.

Also add turbo to website so we can cache the build

* Use turbo for website build & build:doc

* fix typo, tubo -> turbo

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
Fleny
2026-01-07 13:40:27 -06:00
committed by GitHub
co-authored by Skillz4Killz
parent 86c5601d5e
commit 011f0fe0dc
10 changed files with 143 additions and 107 deletions
+2
View File
@@ -1,6 +1,7 @@
{
"name": "website",
"version": "0.0.0",
"packageManager": "yarn@4.12.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -35,6 +36,7 @@
"@docusaurus/tsconfig": "^3.9.2",
"@docusaurus/types": "^3.9.2",
"@types/react": "^19.2.7",
"turbo": "^2.7.2",
"typescript": "5.9.3",
"webpack": "5.104.1"
},
+9
View File
@@ -0,0 +1,9 @@
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"outputs": ["build/**"],
"inputs": ["src/**/*", "static/**/*", "blog/**/*", "docs/**/*", "api_reference/**/*", "docusaurus.config.ts", "sidebars.ts"]
}
}
}
+72
View File
@@ -19935,6 +19935,77 @@ __metadata:
languageName: node
linkType: hard
"turbo-darwin-64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-darwin-64@npm:2.7.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"turbo-darwin-arm64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-darwin-arm64@npm:2.7.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"turbo-linux-64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-linux-64@npm:2.7.2"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"turbo-linux-arm64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-linux-arm64@npm:2.7.2"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"turbo-windows-64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-windows-64@npm:2.7.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"turbo-windows-arm64@npm:2.7.2":
version: 2.7.2
resolution: "turbo-windows-arm64@npm:2.7.2"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"turbo@npm:^2.7.2":
version: 2.7.2
resolution: "turbo@npm:2.7.2"
dependencies:
turbo-darwin-64: "npm:2.7.2"
turbo-darwin-arm64: "npm:2.7.2"
turbo-linux-64: "npm:2.7.2"
turbo-linux-arm64: "npm:2.7.2"
turbo-windows-64: "npm:2.7.2"
turbo-windows-arm64: "npm:2.7.2"
dependenciesMeta:
turbo-darwin-64:
optional: true
turbo-darwin-arm64:
optional: true
turbo-linux-64:
optional: true
turbo-linux-arm64:
optional: true
turbo-windows-64:
optional: true
turbo-windows-arm64:
optional: true
bin:
turbo: bin/turbo
checksum: 10c0/390937a32070ac52120af56705006e831de2edf8e22a2b0146006d07740cd413b3a36335339e7617b57cf74b008f4b15931cf56e1c7c0c03808f028ed937c4de
languageName: node
linkType: hard
"type-fest@npm:^0.21.3":
version: 0.21.3
resolution: "type-fest@npm:0.21.3"
@@ -20803,6 +20874,7 @@ __metadata:
prism-react-renderer: "npm:^2.4.1"
react: "npm:^19.2.3"
react-dom: "npm:^19.2.3"
turbo: "npm:^2.7.2"
typescript: "npm:5.9.3"
webpack: "npm:5.104.1"
languageName: unknown