mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Trying nixpacks config for Node & PNPM setup
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
providers = ["node"]
|
||||
|
||||
[variables]
|
||||
NODE_VERSION = "22.17.0"
|
||||
|
||||
[phases.setup]
|
||||
nixPkgs = ["coreutils"]
|
||||
|
||||
[phases.build]
|
||||
cmds = [
|
||||
"npm install -g corepack",
|
||||
"corepack enable",
|
||||
"corepack prepare pnpm@10.13.1 --activate"
|
||||
]
|
||||
|
||||
[phases.install]
|
||||
cmds = ["pnpm install"]
|
||||
Reference in New Issue
Block a user