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

HSF / phoenix / 33518590741
55%
master: 38%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Sep 2026 02:21PM UTC
Jobs 1
Files 58
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

01 Sep 2026 02:17PM UTC coverage: 45.957% (+7.4%) from 38.526%
33518590741

push

github

web-flow
feat(app): landing page version (#980)

* build(app): generate version info at build time

Add scripts/generate-version.js, which writes a version.ts into the
phoenix-app environments folder containing the version, the short commit
SHA and whether the build is from a tagged release.

The version comes from lerna.json, which is the fixed-mode single source
of truth bumped by `lerna publish` and matching the vX.Y.Z tags. The
commit and release flag come from git, falling back to GITHUB_SHA and
then to no commit at all, so builds still work where git is unavailable,
.git is missing (Docker) or the clone is shallow (CI).
PHOENIX_VERSION_IS_RELEASE=1 forces release mode, for the GitHub Pages
build that Lerna runs after bumping lerna.json but before tagging.

The generated file is build output, so it is gitignored (which also
excludes it from ESLint via includeIgnoreFile) and added to
.prettierignore. Yarn 3 does not run arbitrary pre/post lifecycle
scripts, so the generator is chained onto the start, build and deploy
scripts explicitly, and onto postinstall so the file always exists for
tests and bare `ng build` invocations.

* feat(app): show the phoenix version on the landing page

The landing page gave no indication of which build was being viewed,
which made reports against the rolling dev deployment ambiguous.

Add the version to the footer, next to the existing year and links. A
tagged release shows "v4.0.1" linking to the GitHub release; any other
build shows "4.0.1-dev (38d262c4)" linking to the commit it was built
from. Both the label and the link are computed in the constructor,
alongside the existing year field, so the template needs no conditionals
under strictTemplates. When no commit is known the link falls back to
the repository root rather than pointing at a non-existent commit.

* ci: deploy the dev site on pushes to main

The deploy step already handled the refs/heads/main case, but the
workflow only triggered on pull_request and workflow... (continued)

820 of 2085 branches covered (39.33%)

Branch coverage included in aggregate %.

3068 of 6375 relevant lines covered (48.13%)

189.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33518590741.1 01 Sep 2026 02:21PM UTC 58
45.96
GitHub Action Run
Source Files on build 33518590741
  • Tree
  • List 58
  • Changed 33
  • Source Changed 0
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ed6dc295 on github
  • Prev Build on main (#5974180793)
  • Next Build on main (#33527317741)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc