Standardize version bumping and the release process #1
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: Version check | |
| # Guards against the drift this repository is prone to: the version lives in several | |
| # files, and bumping only some of them is easy to miss in review. | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| version-check: | |
| name: Versions in sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| # No dependencies needed — the check script uses only Node built-ins. | |
| - name: Check that every file records the changelog version | |
| run: node ./scripts/release/sync-versions.js --check |