* chore: bump actions and pin versions * build: switch to blacksmith * fix: use rust-toolchain stable * build: improve pnpm store caching * chore: remove emoji from workflows * fix: run prepare job on blacksmith * chore: kebab case id * build: add concurrency groups to limit duplicate jobs * build: switch around node setup and pnpm setup task * chore: bump to nodejs 24, fix pnpm caching * fix: enable corepack * fix: concurrency deadlock in frontend preview * fix: approve build scripts * fix: just don't cancel concurrent previews * build: remove pnpm setup action everywhere * build: cache apt packages * build: yet another attempt at fixing concurrency * build: lower runner type for frontend deploy * fix: eslint not existing * build: add sccache to turbo-ci * fix: correct nextest pkg * fix: turbo ignoring sccache * revert me: test labrinth tests * Revert "revert me: test labrinth tests" This reverts commit def5cc19183d5c0fe3b6f3c03635d73bb59bd312. * build: compile app before docker build * build: lower runner types * build: remove docker inline caching * build: try mold on labrinth * build: tweak labrinth prod build profile * fix: app windows builds and caching * fix: tombi format cargo.toml * fix: swap ping test to cubecraft to avoid CI flakiness * typos fix --------- Co-authored-by: aecsocket <aecsocket@tutanota.com>
109 lines
2.1 KiB
JSON
109 lines
2.1 KiB
JSON
{
|
|
"$schema": "./node_modules/turbo/schema.json",
|
|
"concurrency": "100%",
|
|
"globalDependencies": [
|
|
"packages/tooling-config/**",
|
|
"!packages/tooling-config/.turbo/**",
|
|
"!packages/tooling-config/node_modules/**",
|
|
"packages/app-lib/.env"
|
|
],
|
|
"globalEnv": [
|
|
"MODRINTH_URL",
|
|
"MODRINTH_API_BASE_URL",
|
|
"MODRINTH_ARCHON_BASE_URL",
|
|
"VITE_STRIPE_PUBLISHABLE_KEY"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": [".nuxt/**", "dist/**", ".output/**", "$TURBO_ROOT$/target/**"],
|
|
"env": [
|
|
"NODE_ENV",
|
|
"SITE_URL",
|
|
"BASE_URL",
|
|
"PREVIEW",
|
|
"BUILD_ENV",
|
|
"FLAG_OVERRIDES",
|
|
"BROWSER_BASE_URL",
|
|
"RATE_LIMIT_IGNORE_KEY",
|
|
"VERCEL_*",
|
|
"CF_PAGES_*",
|
|
"HEROKU_APP_NAME",
|
|
"STRIPE_PUBLISHABLE_KEY",
|
|
"INTERCOM_APP_ID",
|
|
"INTERCOM_IDENTITY_SECRET",
|
|
"PYRO_BASE_URL",
|
|
"PROD_OVERRIDE",
|
|
"PYRO_MASTER_KEY",
|
|
"PORT",
|
|
"SQLX_OFFLINE",
|
|
"DATABASE_URL",
|
|
"CARGO_*",
|
|
"RUST_*",
|
|
"RUSTFLAGS",
|
|
"FORCE_COLOR",
|
|
"NEXTEST_*",
|
|
"BUILD_ENV",
|
|
"PREVIEW"
|
|
],
|
|
"passThroughEnv": [
|
|
"SCCACHE_*",
|
|
"RUSTC_WRAPPER",
|
|
"AWS_ACCESS_KEY_ID",
|
|
"AWS_SECRET_ACCESS_KEY"
|
|
]
|
|
},
|
|
"lint": {
|
|
"env": [
|
|
"DATABASE_URL",
|
|
"SQLX_OFFLINE",
|
|
"CARGO_*",
|
|
"RUST_*",
|
|
"RUSTFLAGS",
|
|
"FORCE_COLOR",
|
|
"NEXTEST_*"
|
|
],
|
|
"passThroughEnv": [
|
|
"SCCACHE_*",
|
|
"RUSTC_WRAPPER",
|
|
"AWS_ACCESS_KEY_ID",
|
|
"AWS_SECRET_ACCESS_KEY"
|
|
]
|
|
},
|
|
"lint:ancillary": {},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true,
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"env": ["CARGO_*", "RUST_*", "RUSTFLAGS", "FORCE_COLOR", "NEXTEST_*"],
|
|
"passThroughEnv": ["DISPLAY", "WEBKIT_DISABLE_DMABUF_RENDERER", "JAVA_HOME"]
|
|
},
|
|
"test": {
|
|
"env": [
|
|
"SQLX_OFFLINE",
|
|
"DATABASE_URL",
|
|
"CARGO_*",
|
|
"RUST_*",
|
|
"RUSTFLAGS",
|
|
"FORCE_COLOR",
|
|
"NEXTEST_*"
|
|
],
|
|
"passThroughEnv": [
|
|
"SCCACHE_*",
|
|
"RUSTC_WRAPPER",
|
|
"AWS_ACCESS_KEY_ID",
|
|
"AWS_SECRET_ACCESS_KEY"
|
|
]
|
|
},
|
|
"fix": {},
|
|
"fix:ancillary": {
|
|
"cache": false
|
|
},
|
|
"intl:extract": {},
|
|
"prepr": {
|
|
"dependsOn": ["^prepr", "fix", "intl:extract"]
|
|
}
|
|
}
|
|
}
|