chore(turbo): add build dependency to 'test:e2e:all' for improved execution order

This commit is contained in:
taroj1205 2025-06-22 20:07:15 +12:00
parent e6e6b1bc08
commit 824df2009e
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7

View file

@ -39,31 +39,33 @@
}, },
"test:e2e:shard1": { "test:e2e:shard1": {
"cache": true, "cache": true,
"dependsOn": ["build"],
"inputs": ["src/**/*"], "inputs": ["src/**/*"],
"outputs": ["playwright-report/**", "test-results/**"] "outputs": ["playwright-report/**", "test-results/**"]
}, },
"test:e2e:shard2": { "test:e2e:shard2": {
"cache": true, "cache": true,
"dependsOn": ["build"],
"inputs": ["src/**/*"], "inputs": ["src/**/*"],
"outputs": ["playwright-report/**", "test-results/**"] "outputs": ["playwright-report/**", "test-results/**"]
}, },
"test:e2e:shard3": { "test:e2e:shard3": {
"cache": true, "cache": true,
"dependsOn": ["build"],
"inputs": ["src/**/*"], "inputs": ["src/**/*"],
"outputs": ["playwright-report/**", "test-results/**"] "outputs": ["playwright-report/**", "test-results/**"]
}, },
"test:e2e:shard4": { "test:e2e:shard4": {
"cache": true, "cache": true,
"dependsOn": ["build"],
"inputs": ["src/**/*"], "inputs": ["src/**/*"],
"outputs": ["playwright-report/**", "test-results/**"] "outputs": ["playwright-report/**", "test-results/**"]
}, },
"test:e2e:all": { "test:e2e:all": {
"cache": true, "cache": true,
"dependsOn": ["test:e2e:shard1", "test:e2e:shard2", "test:e2e:shard3", "test:e2e:shard4"], "dependsOn": [
"^build",
"test:e2e:shard1",
"test:e2e:shard2",
"test:e2e:shard3",
"test:e2e:shard4"
],
"inputs": ["src/**/*"], "inputs": ["src/**/*"],
"outputs": ["playwright-report/**", "test-results/**"] "outputs": ["playwright-report/**", "test-results/**"]
} }