Skip to content

Commit

Permalink
never run npm ci in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiriVulpes committed Nov 9, 2024
1 parent 12bc09f commit d35d3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Log from "./utility/Log"
import Task from "./utility/Task"

export default Task("install", async () => {
await Task.cli({ cwd: "src" }, "PATH:npm", "ci")
await Task.cli({ cwd: "src" }, "PATH:npm", Env.ENVIRONMENT === "dev" ? "install" : "ci")
if (Env.ENVIRONMENT === "dev") {
Log.info(`Installing ${ansi.lightCyan("api.fluff4.me@latest")}...`)
await Task.cli({ cwd: "src" }, "PATH:npm", "install", "api.fluff4.me@latest")
Expand Down

0 comments on commit d35d3db

Please sign in to comment.