Update build pipeline to reduce image size

This commit is contained in:
2026-08-29 17:56:06 +00:00
parent c65bdf71ae
commit b713c75213
8 changed files with 140 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }: {
languages = {
javascript = {
enable = true;
package = pkgs.nodejs_22;
yarn = {
enable = true;
package = pkgs.yarn-berry;
};
};
};
tasks."news:install" = {
exec = ''yarn install'';
before = ["news:build"];
};
tasks."news:build" = {
exec = ''yarn build'';
};
}