6b0a6f0c25
### What? * enable turbopack tests in new CI * split pre-build step into native and JS builds to allow to start native tests faster * update swc_core to sync with turbo * update turbopack ### Why? Running our test suite is still important as long we don't have the full integration test suite enabled. ### Turbopack updates * https://github.com/vercel/turbo/pull/5215 <!-- OJ Kwon - ci(workflow): upload benchmark results to datadog --> * https://github.com/vercel/turbo/pull/5239 <!-- OJ Kwon - fix(swc_plugin): use shared runtime --> * https://github.com/vercel/turbo/pull/3090 <!-- CHEN Yuan - Docs: prior to run testcases, add guides to install dependencies for testcases. --> * https://github.com/vercel/turbo/pull/5264 <!-- Tobias Koppers - update test runner --> --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"pipeline": {
|
|
"build-native": {
|
|
"dependsOn": ["^build-native"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build-native-release": {
|
|
"dependsOn": ["^build-native-release"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build-native-no-plugin": {
|
|
"dependsOn": ["^build-native-no-plugin"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build-native-no-plugin-woa": {
|
|
"dependsOn": ["^build-native-no-plugin-woa"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build-native-no-plugin-woa-release": {
|
|
"dependsOn": ["^build-native-no-plugin-woa-release"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build-wasm": {
|
|
"dependsOn": ["^build-wasm"],
|
|
"outputs": ["crates/wasm/pkg/*"]
|
|
},
|
|
"cache-build-native": {
|
|
"dependsOn": ["^cache-build-native"],
|
|
"outputs": ["native/*.node"]
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^dev"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"typescript": {},
|
|
"rust-check": {},
|
|
"test-cargo-unit": {},
|
|
"test-cargo-integration": {},
|
|
"test-cargo-bench": {},
|
|
"//#get-test-timings": {
|
|
"inputs": ["run-tests.js"],
|
|
"outputs": ["test-timings.json"]
|
|
}
|
|
}
|
|
}
|