Files
discordeno/turbo.json
Fleny b0c1b9f795 ci: Use mocha for both deno and bun (#4067)
* Use mocha for both deno and bun

* Use any Bun 1.1

* remove build:type dependency in lib-check.yml

* Pin point 1.1.42

* remove packages/bot/.mocharc.json
2025-01-01 09:59:06 -08:00

47 lines
1.1 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"],
"outputs": ["coverage/**"]
},
"test:integration": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"test:test-type": {
"dependsOn": ["^build:type"]
},
"test:deno-unit": {
"dependsOn": ["^build", "build"]
},
"test:bun-unit": {
"dependsOn": ["^build", "build"]
},
"test:e2e": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"],
"env": ["DISCORD_TOKEN", "E2E_TEST_GUILD_ID"]
},
"lint": {
"dependsOn": ["build:type"],
"cache": false
},
"fmt": {
"cache": false
}
}
}