[tasks.install] run = "pnpm install --filter immich-e2e... --frozen-lockfile" [tasks.build] dir = "{{ config_root }}" run = "docker compose build" [tasks.test] depends = ["//e2e:build", "//e2e:ci-setup"] env._.path = "./node_modules/.bin" run = "vitest --run" [tasks.playwright-install] env._.path = "./node_modules/.bin" run = "playwright install" [tasks."test-web"] depends = ["//e2e:build", "//e2e:ci-setup", "//e2e:playwright-install"] 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] run = [ { task = "//:sdk:install" }, { task = "//:sdk:build" }, { task = "//packages/cli:install" }, { task = "//packages/cli:build" }, { task = ":install" }, ] [tasks.ci-unit] run = [ { task = "//:sdk:install" }, { task = "//:sdk:build" }, { task = ":install" }, { task = ":format" }, { task = ":lint" }, { task = ":check" }, ]