mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* Add env to test:e2e turbo task Turbo in v2 does not pass down the environment variables unless manually specified (by default) * use the correct env name for the test guild
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"tasks": {
|
|
"build": {
|
|
"outputs": ["dist/**/*.js"],
|
|
"inputs": ["src/**/*.ts"]
|
|
},
|
|
"build:type": {
|
|
"dependsOn": ["^build:type"],
|
|
"outputs": ["dist/types/**/*.d.ts", "dist/types/**/*.d.ts.map", "dist/tsconfig.tsbuildinfo"]
|
|
},
|
|
"test:unit-coverage": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": ["^build", "build", "build:type"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"test:integration": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"test:test-type": {
|
|
"dependsOn": ["^build:type"]
|
|
},
|
|
"test:deno-unit": {
|
|
"dependsOn": ["^build", "build", "build:type"],
|
|
"outputs": ["denoTestsDist/**"]
|
|
},
|
|
"test:bun-unit": {
|
|
"dependsOn": ["^build", "build", "build:type"],
|
|
"outputs": ["bunTestsDist/**"]
|
|
},
|
|
"test:e2e": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["coverage/**"],
|
|
"env": ["DISCORD_TOKEN", "E2E_TEST_GUILD_ID"]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["build:type"],
|
|
"cache": false
|
|
},
|
|
"fmt": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|