From 903e2e0ab62f568733f1209576197d130132cc04 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Sun, 25 Oct 2026 21:40:08 +0100 Subject: [PATCH] Set NODE_ENV=production when publishing to npm The About dialog reported the environment as dev in released builds because NODE_ENV was never set when the web UI was built for publishing. --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 68d74530..72855f7d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,8 @@ jobs: registry-url: https://registry.npmjs.org - run: pnpm install --no-frozen-lockfile - run: pnpm -r --filter='./packages/*' --filter='./plugins/*' --fail-if-no-match publish --no-git-checks + env: + NODE_ENV: production - uses: softprops/action-gh-release@v3 with: files: pnpm-lock.yaml