From 7acd0555e3a6326683122ae0cde6a39723ebebb6 Mon Sep 17 00:00:00 2001 From: Markov Date: Sun, 15 Feb 2026 19:29:50 +0100 Subject: [PATCH] perf: production mode + build in CI - npm start instead of npm run dev - CI does npm run build before restart - Pages load in ~50ms instead of ~2s --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a81d571..e68a33c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -13,10 +13,11 @@ jobs: cd /root/projects/team-board/web-client git pull origin main - - name: Install dependencies + - name: Install and build run: | cd /root/projects/team-board/web-client npm install --production=false + npm run build - name: Restart service run: |