删除 nixpacks.toml
Some checks failed
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / generate (macos-latest) (push) Has been cancelled
CI / generate (ubuntu-latest) (push) Has been cancelled
CI / generate (windows-latest) (push) Has been cancelled
Publish Any Commit / publish (push) Has been cancelled
Some checks failed
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / generate (macos-latest) (push) Has been cancelled
CI / generate (ubuntu-latest) (push) Has been cancelled
CI / generate (windows-latest) (push) Has been cancelled
Publish Any Commit / publish (push) Has been cancelled
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
[phases.setup]
|
||||
nixPkgs = [
|
||||
"nodejs_22", # Nixpacks 已帮你加,这里显性写出来安全
|
||||
"sqlite" # 预编译好的 sqlite 库
|
||||
]
|
||||
|
||||
[phases.install]
|
||||
cmds = [
|
||||
"sudo apt-get update -y",
|
||||
"sudo apt-get install -y build-essential python3", # 上 gcc/make/python
|
||||
"pnpm config set script-shell '/bin/bash'", # 避免 sh -c 失环境
|
||||
"pnpm install --frozen-lockfile"
|
||||
]
|
||||
|
||||
# 可选:编译缓存,构建更快
|
||||
[phases.build]
|
||||
cacheDirectories = [ "node_modules/.cache" ]
|
Reference in New Issue
Block a user