This repository was archived by the owner on Jun 8, 2026. It is now read-only.
[POC] FEA-1469: run Symphony Desktop in Electron with local SQLite #734
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Desktop Version Bump Check | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - "apps/desktop/**" | |
| jobs: | |
| version-bump-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check desktop version bump | |
| run: | | |
| BASE_REF="${{ github.event.pull_request.base.ref }}" | |
| BASE=$(git merge-base "origin/$BASE_REF" HEAD) | |
| OLD_VERSION=$(git show "$BASE":apps/desktop/package.json | jq -r .version) | |
| NEW_VERSION=$(jq -r .version apps/desktop/package.json) | |
| if [ "$OLD_VERSION" = "$NEW_VERSION" ]; then | |
| echo "::error::apps/desktop/ was modified but version in apps/desktop/package.json was not bumped (still $OLD_VERSION). Please bump the version." | |
| exit 1 | |
| fi | |
| echo "Version bumped: $OLD_VERSION -> $NEW_VERSION" |