Skip to content

Commit

Permalink
refactor: ♻️ update toml
Browse files Browse the repository at this point in the history
  • Loading branch information
slugb0t committed Jul 11, 2024
1 parent c3a3728 commit f7498d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
25 changes: 2 additions & 23 deletions bot/nixpacks.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
# nixpacks.toml

# Specify the version of Node.js you want to use
[NODE]
version = "20" # replace with your desired Node.js version

# Phases definition
[phases.setup]
commands = [
"npm install -g pnpm", # Install pnpm globally
]
providers = ["node"]

[phases.install]
commands = [
"pnpm install", # Install project dependencies using pnpm
]

[phases.build]
commands = [
"pnpm run build", # Build the application using pnpm
]

# Optionally specify environment variables
[env]
NIXPACKS_NODE_VERSION = "20" # replace with your desired Node.js version
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare pnpm@9.1.0 --activate", "pnpm install"]
4 changes: 4 additions & 0 deletions nixpacks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
providers = ["node"]

[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare pnpm@9.1.0 --activate", "pnpm install"]

0 comments on commit f7498d5

Please sign in to comment.