206 Commits
Author SHA1 Message Date
4gray 6640753bec fix: ensure dependencies are installed without frozen lockfile in E2E tests 2026-02-08 09:50:19 +01:00
4gray 4979d3f876 fix(ci): enable tag-based Snap publish and remove trailing spaces 2026-01-13 22:55:32 +01:00
4gray 96e2a57d0c ci: run workflows on master branch instead of nx
Update GitHub Actions workflow triggers to use the master branch
for push and pull_request events. Replace the previous nx branch
restriction so CI (build, make and e2e tests) runs on master and tag
events as intended.

This enables workflows to execute for changes merged to master and
aligns branch configuration across workflows.
2026-01-12 21:58:29 +01:00
4gray 6cd0c1fa66 feat(ci): add cross-platform E2E workflow and remove old CI
Add a new GitHub Actions workflow "Cross-Platform E2E Tests" that runs
end-to-end tests on linux, macOS, and Windows using a matrix job.
The workflow checks out code, sets up Node.js 22 with npm cache,
installs deps, builds the backend, installs Playwright browsers, and
runs the electron-backend-e2e suite (using xvfb on Linux). Failed
test artifacts (Playwright report) are uploaded per OS for 7 days.

Remove the previous monolithic 'Build and Test' workflow which included
unit tests, coverage upload, and an older E2E configuration. This
consolidates E2E across platforms into a focused, cross-platform job
and simplifies the CI surface by deprecating the outdated workflow.
2026-01-09 12:54:05 +01:00
4gray 54b8d3a18b ci: move env variable to step header 2025-12-14 13:03:13 +01:00
4gray d7bfd2648c feat(ci): add GitHub Action job to publish Snap on tags
Add a publish-snap job to the CI workflow that runs after build and
only triggers for version tags (refs/tags/v*). The job downloads the
linux build artifacts, installs snapcraft, locates the generated .snap
file and uploads it to the Snapcraft Store releasing to the stable
channel. It validates the presence of a snap file and fails if none is
found.

This enables automated Snap distribution for tagged releases using the
SNAPCRAFT_STORE_CREDENTIALS secret.
2025-12-14 12:31:00 +01:00
4gray 568a5feac3 fix(ci): use different runners for macos arm and intel arch
Update GitHub Actions workflow to support multiple OS runners and CPU
architectures, standardize matrix keys, and adjust platform-specific
steps and artifact names.

- Replace simple os matrix with include entries specifying os, runner,
  and arch to allow macOS x64/arm64 separation and explicit runners for
  linux/windows.
- Use runner matrix value for runs-on and change timeout/strategy
  accordingly.
- Adjust conditional checks to use normalized os values (linux, macos,
  windows) rather than platform-specific runner labels.
- Install Linux system deps only when os == 'linux' and keep Flatpak
  setup for electron-builder.
- Add a macOS-specific make step that passes the architecture to the
  electron make command, while keeping a combined make step for
  non-macOS builds.
- Upload macOS artifacts per architecture and rename artifact paths to
  include arch; update release files list to include both macOS x64 and
  arm64 artifact patterns.

These changes enable reliable, architecture-aware macOS builds,
prevent native module conflicts across runners, and ensure artifacts
are labeled and uploaded correctly.
2025-12-12 22:22:31 +01:00
4gray 4020de1af9 ci: enhance build workflow with Flatpak setup
Added Flatpak configuration steps to the build workflow.
2025-11-26 17:28:28 +01:00
4gray ae6e97db91 ci: install Linux dependencies in CI workflow
Added steps to install Linux system dependencies for builds.
2025-11-26 17:12:39 +01:00
4gray 12a513802a fix(electron): simplify production load and CI frontend build
Remove unused url.format import and switch from loadURL with a
formatted file: URL to loadFile for production. This simplifies code,
avoids manual file URL construction, and makes the production path
loading more robust.
Also update CI job to build the frontend via the NX command
(npx nx build web --skip-nx-cache) instead of npm run build:frontend,
aligning the workflow with the monorepo's canonical build command.
2025-11-23 19:14:01 +01:00
4gray fbed100fb0 ci: make release step create draft prereleases for PRs
Update the GitHub release action to mark releases from pull 
request events as prerelease and to set a safe tag name when the
 is not triggered by a tag ref.

- Set prerelease to true when github.event_name == 'pull_request'
  so draft releases created during PR workflows are marked as
  prereleases.
- Use the tag name from github.ref_name when the workflow is
  triggered by a tag; otherwise generate a deterministic test tag
  "test-<sha>" to avoid using an invalid or empty tag name.

This prevents accidental full releases from PR runs and ensures the
action always has a valid tag_name value.
2025-11-08 23:02:15 +01:00
4gray 681e58728f chore(config): normalize YAML quoting and indentation 2025-10-27 08:20:29 +01:00
4gray 6ac61720ad feat(ci): add GitHub Actions workflow to build and make app 2025-10-27 08:20:29 +01:00
4gray 99ed5df404 chore: back to electron + nx 2025-10-07 18:02:13 +02:00
4gray d22121704b chore: update bug report template to reflect migration from Electron to Tauri 2025-03-04 22:06:12 +01:00
4gray ec66c9da4a chore: update GitHub workflows to use master branch and upgrade Node.js version to 22 2025-03-04 22:05:53 +01:00
4gray 04ccc67021 chore: remove Electron build configuration files 2024-12-01 19:49:30 +01:00
4gray 2259e1116c fix: update Dockerfile and GitHub Actions workflow
Update the CMD instruction in the Dockerfile to target 
main.js instead of main-*.js for better specificity. 
Modify the tag and release names in the GitHub Actions 
workflow to follow a consistent naming convention, 
ensuring clarity in versioning.
2024-11-29 23:12:10 +01:00
4gray 537d30ab1e feat(ci): update Docker workflow to include version tagging
Adds a step to install jq and retrieves the version from 
package.json to tag the Docker image. This ensures that the 
Docker image is versioned correctly based on the package 
version, improving traceability and deployment consistency.
2024-11-29 01:13:34 +01:00
4gray 9a7e9ae687 feat(ci): update release naming convention in workflow
Modifies the tagName and releaseName in the Tauri release 
workflow to include platform and arguments for better 
version identification. This change enhances clarity and 
consistency in release management.
2024-11-29 01:13:34 +01:00
4gray 442cd4f0a7 ci: update Tauri release workflow to use secret for signing key password 2024-11-21 00:31:13 +01:00
4gray 11092a59d9 chore: remove outdated CodeSee and WinGet workflows 2024-11-21 00:30:05 +01:00
4gray d69f962f6a refactor: rename CI workflow and remove outdated release workflow 2024-11-21 00:20:29 +01:00
4gray 77eaf24ec1 ci: rename workflow and comment out electron release steps 2024-11-21 00:11:32 +01:00
4gray c520dadd7b ci: change from yarn to npm 2024-11-10 18:19:35 +01:00
4gray 5fb78d2507 refactor(tauri): prepare migration to tauri 2024-11-10 18:15:30 +01:00
4gray b96ec9444b ci: update electron-builder action version 2024-09-26 08:39:05 +02:00
4gray f7d1b8044b ci: update versions of actions in steps 2024-08-24 22:35:56 +02:00
4gray 7ab8e0f4ec ci: update codeql action to v3 2024-08-24 22:25:50 +02:00
4gray 92fdec4cdd ci: update codeql action 2024-08-24 22:17:46 +02:00
4gray 6ea3a1d992 ci: update versions of actions in steps 2024-08-24 21:56:08 +02:00
4gray df43ec6d6b ci: update node to v20 2024-08-24 21:53:37 +02:00
4gray 3004d41d9c ci: update docker release workflow 2024-07-29 22:32:04 +02:00
4gray 4464d8556f Update FUNDING.yml 2024-06-30 18:54:51 +02:00
4gray 93a379eee7 ci: update node.js version in github action files 2023-11-16 00:13:04 +01:00
4gray f041bff76f ci(docker): update docker.yml 2023-05-03 23:49:29 +02:00
4gray 8588e36806 Update docker.yml 2023-04-04 22:21:17 +02:00
4gray c633fefc3a Update docker.yml 2023-04-04 22:07:58 +02:00
4gray 8ea122bb9d ci: set snapcraft env globally 2023-03-11 23:44:17 +01:00
4gray 6fa6094f0e ci: update token definition 2023-03-11 23:28:00 +01:00
4gray ef318bbd5a ci: update snapcraft action 2023-03-11 21:01:42 +01:00
4gray f53a9362ac ci: exclude e2e under windows-latest 2023-02-24 19:04:22 +01:00
4gray e208a6c822 Update FUNDING.yml 2023-02-11 10:23:46 +01:00
4gray e64d70da79 ci: update nodejs version 2023-01-23 22:50:22 +01:00
4gray 5b53863ecf ci: trigger docker build manually 2023-01-19 22:14:20 +01:00
4gray 89822e9545 ci: add platforms for docker build step 2023-01-13 09:06:13 +01:00
4gray 2d655fc721 ci: build and push docker image 2023-01-13 08:51:35 +01:00
4gray a4891eae89 ci: update e2e step 2023-01-04 01:09:35 +01:00
4gray 83a5de4d61 ci: disable e2e test execution on ubuntu-latest 2023-01-04 00:53:52 +01:00
4gray 4d8df70ec9 Update ci.yaml 2023-01-04 00:32:56 +01:00