Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# The whole history, so the changelog step can compare with the base branch.
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run build
- run: npm test
- name: Changelog entry
if: github.event_name == 'pull_request'
run: |
if git diff --quiet "origin/${{ github.base_ref }}...HEAD" -- CHANGELOG.md; then
echo "CHANGELOG.md was not changed by this pull request."
echo "Every pull request adds a line under Unreleased in CHANGELOG.md that says what it changes."
exit 1
fi
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

What changed in the API, newest first. Every pull request adds a line under Unreleased that says
what it changes for someone who uses the API. CI checks that it did.

## Unreleased

- `GET /tasks/count` says how many tasks there are, and how many are done.
- CI checks that a pull request adds a line here.
Loading