This repository was archived by the owner on Jun 8, 2026. It is now read-only.
FEAT-68: add no-auth dev mode and unread session count endpoint #1
Workflow file for this run
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="${{ github.event.pull_request.base.sha }}" | |
| 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" |