• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cmaurer / relative.time.parser / 20625268972
80%

Build:
DEFAULT BRANCH: master
Ran 31 Dec 2025 06:55PM UTC
Jobs 3
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Dec 2025 06:55PM UTC coverage: 83.333%. First build
20625268972

push

github

web-flow
fix: add explicit support for 'now' keyword (#29)

* feat: add explicit support for 'now' keyword

Previously 'now' worked by accident (falling through to return moment()).
Now it explicitly handles 'now' and preserves the moment's context.

- Add explicit 'now' check in relativeTime() before regex matching
- Returns moment(this) to preserve the original moment's time
- Add test to verify context preservation with specific dates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* ci: improve GitHub Actions workflow

- Add PR trigger (previously only ran on push)
- Change publish trigger from master push to version tags (refs/tags/v*)
- Add npm caching for faster builds
- Add timeout-minutes (10) to prevent hanging jobs
- Add fail-fast: false to run all Node versions even if one fails
- Add consistent step names for better readability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: adding coveralls to actions

* fix(ci): run coverage tests for Coveralls integration

- Change 'npm test' to 'npm run coverage' to generate LCOV files
- Add parallel flag for matrix builds
- Add coveralls-finish job to complete parallel build reporting

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: adding coverage to README.md

* fix: updating

* fix: adding permissions to github actions workflow

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

12 of 22 branches covered (54.55%)

Branch coverage included in aggregate %.

88 of 98 relevant lines covered (89.8%)

42.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-22.x - 20625268972.1 31 Dec 2025 06:55PM UTC 3
83.33
GitHub Action Run
2 node-18.x - 20625268972.2 31 Dec 2025 06:55PM UTC 3
83.33
GitHub Action Run
3 node-20.x - 20625268972.3 31 Dec 2025 06:55PM UTC 3
83.33
GitHub Action Run
Source Files on build 20625268972
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20625268972
  • e1a82a08 on github
  • Next Build on master (#20625305397)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc