mirror of
https://github.com/immich-app/immich.git
synced 2026-05-16 16:38:00 +03:00
45 lines
895 B
TOML
45 lines
895 B
TOML
[tasks.install]
|
|
run = "pnpm install --filter immich-e2e --frozen-lockfile"
|
|
|
|
[tasks.test]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "vitest --run"
|
|
|
|
[tasks."test-web"]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "playwright test"
|
|
|
|
[tasks.format]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --check ."
|
|
|
|
[tasks."format-fix"]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --write ."
|
|
|
|
[tasks.lint]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "eslint \"src/**/*.ts\" --max-warnings 0"
|
|
|
|
[tasks."lint-fix"]
|
|
run = { task = "lint --fix" }
|
|
|
|
[tasks.check]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "tsc --noEmit"
|
|
|
|
|
|
[tasks.ci-setup]
|
|
depends = ["//:sdk:install", "//:sdk:build", "//cli:install", "//cli:build"]
|
|
run = { task = ":install" }
|
|
|
|
|
|
[tasks.ci-unit]
|
|
depends = ["//:sdk:install", "//:sdk:build"]
|
|
run = [
|
|
{ task = ":install" },
|
|
{ task = ":format" },
|
|
{ task = ":lint" },
|
|
{ task = ":check" },
|
|
]
|