diff --git a/.github/workflows/vercel-preview.yaml b/.github/workflows/vercel-preview.yaml index b4ea46676..a26108e0f 100644 --- a/.github/workflows/vercel-preview.yaml +++ b/.github/workflows/vercel-preview.yaml @@ -37,7 +37,7 @@ jobs: working-directory: packages/ui-components - run: nix develop -c npm run build working-directory: packages/orderbook - - run: nix develop -c npm run build + - run: nix develop .#webapp-shell -c npm run build working-directory: packages/webapp - name: Install Vercel CLI diff --git a/flake.nix b/flake.nix index d284ad2f3..adac0b412 100644 --- a/flake.nix +++ b/flake.nix @@ -288,6 +288,11 @@ buildInputs = rainix.devShells.${system}.tauri-shell.buildInputs ++ [pkgs.clang-tools]; nativeBuildInputs = rainix.devShells.${system}.tauri-shell.nativeBuildInputs; }; + devShells.webapp-shell = pkgs.mkShell { + packages = with pkgs; [ + nodejs_20 + ]; + }; } );