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.
This commit is contained in:
Danielv123 committed 2026-10-25 21:40:08 +01:00
1 parent 7fa511873b
commit 903e2e0ab6
1 file changed
+2
+2
View File
@@ -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