diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d000da..8610843 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: - 'app/**' - '.github/workflows/**' pull_request: - types: [opened, synchronize, reopened, closed] + types: [opened, synchronize, reopened] branches: - master - dev diff --git a/CHANGELOG.md b/CHANGELOG.md index 62151ca..b112438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to Workout Lens are documented here. +## [1.5.13] — 2026-05-16 + +### Developer / Infrastructure +- **Remove `closed` from `ci.yml` PR types (issue #258)** — the `closed` event and the `push` event both share the same concurrency group, causing the deploy job to be silently cancelled on every PR merge. Staging cleanup is handled exclusively by `cleanup-staging.yml`. +- **Bump `package.json` version to `1.5.13`** — versions `1.5.11` and `1.5.12` were released without updating `package.json`, so the Settings page was showing a stale `v1.5.10`. Fast-forwarded to `1.5.13` to reflect all changes since `1.5.10`. + ## [1.5.12] — 2026-05-16 ### Security diff --git a/app/api/__tests__/packageVersion.test.js b/app/api/__tests__/packageVersion.test.js new file mode 100644 index 0000000..ac0962e --- /dev/null +++ b/app/api/__tests__/packageVersion.test.js @@ -0,0 +1,15 @@ +import { describe, it, expect } from 'vitest'; +import { readFileSync } from 'fs'; +import { resolve } from 'path'; + +describe('package.json version sync', () => { + it('matches the latest version in CHANGELOG.md', () => { + const pkg = JSON.parse(readFileSync(resolve(__dirname, '../../package.json'), 'utf8')); + const changelog = readFileSync(resolve(__dirname, '../../../CHANGELOG.md'), 'utf8'); + + const match = changelog.match(/^## \[(\d+\.\d+\.\d+)\]/m); + expect(match, 'No version heading found in CHANGELOG.md').toBeTruthy(); + + expect(pkg.version).toBe(match[1]); + }); +}); diff --git a/app/package.json b/app/package.json index 55c6a96..946e7aa 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "workout-lens", "private": true, - "version": "1.5.10", + "version": "1.5.13", "author": "Christopher Rotnes", "license": "MIT", "repository": {