Compare commits

..

7 Commits

Author SHA1 Message Date
Shantur Rathore
459b950ab6 Install rollup native binary before server publish 2025-11-21 14:58:33 +00:00
Shantur Rathore
d7edd4cf4a Use non-timestamped dev tag/release names 2025-11-21 14:55:21 +00:00
Shantur Rathore
e0bd5ccc92 Updated browser screenshot 2025-11-21 14:48:28 +00:00
Shantur Rathore
5e82fc4e5d Add repository and homepage metadata for electron build 2025-11-21 14:40:06 +00:00
Shantur Rathore
1b2c775348 Avoid duplicate icon in electron build resources 2025-11-21 14:31:43 +00:00
Shantur Rathore
16e9cb21da Work around rollup native missing in CI builds 2025-11-21 14:21:03 +00:00
Shantur Rathore
cacfbc24cc Fix workspace version bumps in CI workflows 2025-11-21 13:52:45 +00:00
5 changed files with 31 additions and 8 deletions

View File

@@ -40,11 +40,14 @@ jobs:
cache: npm
- name: Set workspace versions
run: npm pkg set version=${VERSION} --workspaces --include-workspace-root
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
- name: Install dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-darwin-x64 --no-save
- name: Build macOS binaries
run: npm run build:mac --workspace @neuralnomads/codenomad-electron-app
@@ -80,12 +83,15 @@ jobs:
cache: npm
- name: Set workspace versions
run: npm pkg set version=${{ env.VERSION }} --workspaces --include-workspace-root
run: npm version ${{ env.VERSION }} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
shell: bash
- name: Install dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-win32-x64-msvc --no-save
- name: Build Windows binaries
run: npm run build:win --workspace @neuralnomads/codenomad-electron-app
@@ -115,11 +121,14 @@ jobs:
cache: npm
- name: Set workspace versions
run: npm pkg set version=${VERSION} --workspaces --include-workspace-root
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
- name: Install dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save
- name: Build Linux binaries
run: npm run build:linux --workspace @neuralnomads/codenomad-electron-app
@@ -161,11 +170,14 @@ jobs:
sudo gem install --no-document fpm
- name: Set workspace versions
run: npm pkg set version=${VERSION} --workspaces --include-workspace-root
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
- name: Install project dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save
- name: Build Linux RPM binaries
run: npm run build:linux-rpm --workspace @neuralnomads/codenomad-electron-app

View File

@@ -30,8 +30,7 @@ jobs:
run: |
BASE_VERSION=$(node -p "require('./package.json').version")
DEV_VERSION="${BASE_VERSION}-dev"
TIMESTAMP=$(date -u +%y%m%d-%H%M)
TAG="v${DEV_VERSION}-${TIMESTAMP}"
TAG="v${DEV_VERSION}"
echo "version=$DEV_VERSION" >> "$GITHUB_OUTPUT"
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
echo "release_name=$TAG" >> "$GITHUB_OUTPUT"
@@ -74,11 +73,14 @@ jobs:
cache: npm
- name: Set workspace versions
run: npm pkg set version=${VERSION} --workspaces --include-workspace-root
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
- name: Install dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save
- name: Build server package
run: npm run build --workspace @neuralnomads/codenomad

View File

@@ -91,6 +91,9 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces
- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save
- name: Build server package
run: npm run build --workspace @neuralnomads/codenomad

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 845 KiB

View File

@@ -8,6 +8,11 @@
},
"type": "module",
"main": "dist/main/main.js",
"repository": {
"type": "git",
"url": "https://github.com/NeuralNomadsAI/CodeNomad.git"
},
"homepage": "https://github.com/NeuralNomadsAI/CodeNomad",
"scripts": {
"dev": "electron-vite dev",
"dev:electron": "NODE_ENV=development ELECTRON_ENABLE_LOGGING=1 NODE_OPTIONS=\"--import tsx\" electron electron/main/main.ts",
@@ -59,7 +64,8 @@
"extraResources": [
{
"from": "electron/resources",
"to": ""
"to": "",
"filter": ["!icon.icns", "!icon.ico", "!icon.png"]
}
],
"mac": {