ci: simplify web.nix (symlink .next, bunx next start from repo), fix CI args
CI / typecheck + tests (push) Canceled after 0s
CI / build + deploy (Nix) — api (push) Canceled after 0s
CI / build + deploy (Nix) — mcp (push) Canceled after 0s
CI / build + deploy (Nix) — worker (push) Canceled after 0s
CI / build + deploy (web) (push) Canceled after 0s

This commit is contained in:
asepharyana
2026-08-21 17:50:30 +07:00
parent c92caede57
commit 54d5c0ee01
2 changed files with 25 additions and 43 deletions
+1 -3
View File
@@ -232,7 +232,7 @@ jobs:
- name: Unpack .next
run: tar -xzf /tmp/web-next/web-next.tar.gz -C apps/web/
- name: Install deps (for node_modules in web.nix)
- name: Install deps (for bunx in web.nix)
run: bun install --frozen-lockfile
- name: Build web Nix derivation
@@ -242,8 +242,6 @@ jobs:
nix-build -E \
"let pkgs = import <nixpkgs> {}; in pkgs.callPackage ${REPO_ROOT}/web.nix {
webNextDir = ${REPO_ROOT}/apps/web/.next;
webPkgDir = ${REPO_ROOT}/apps/web;
nodeModulesPath = ${REPO_ROOT};
}" \
--impure --option sandbox false
STORE_PATH=$(readlink result)