DEV Community

Cover image for Powering the Together Framework
Isaac Lee
Isaac Lee

Posted on • Updated on

Powering the Together Framework

In 2020, Ember.js earned an unofficial nickname—The Together Framework. Since inception, Ember championed 3 things that led to this moniker:

  • Share solutions (via battery-included framework and complementary addons)
  • Adopt new technologies via RFCs (open to all)
  • Pave migration paths (e.g. deprecation warnings, codemods) so that developers who maintain older apps aren't abandoned

Because developers and teams follow a set of conventions, it's particularly easy to write GitHub Actions workflows that can be shared among Ember apps and addons.

My Workflow

For the hackathon, I created workflow templates for Ember apps and addons.

✅ The workflow for Ember apps has several features:

✅ The workflow for Ember addons has several features:

To top these off, I created inspect-workflow-runs. You can analyze past workflow runs and make a data-driven decision for calibrating timeout-minutes. (The default value is 360 minutes, which can lead to accidentally running out of minutes in private repos.)

Submission Category:

  • Maintainer Must-Haves

Yaml File or Link to Code

I created 4 workflow templates for the hackathon. They account for Ember addon vs. app, and yarn vs. npm.

My main entry for the hackathon is Ember addons - yarn. Addons like ember-container-query are the open-sourced npm packages that bring the Ember community together to develop, share, and support. 🧡

A workflow run for Ember Container Query shows 20 jobs that completed in 3 minutes.

A workflow run for ember-container-query shows 20 jobs that completed in 3 minutes. Thanks to CI and thorough testing, the addon has had 0 bug reports.

Additional Resources / Info

To learn more about writing GitHub Actions workflows for Ember projects, I recommend my blog posts:

The workflow templates that I built now power a few open source projects for the Ember community:

While I created the workflow templates on my own, my knowledge and experience with GitHub Actions stand upon those of amazing developers in the Ember community. I'd like to recognize:

Top comments (2)

Collapse
 
rajasegar profile image
Rajasegar Chandran

Thanks for the writeup @ijlee2 , I love the idea of pre-built apps for test and timeout-minutes. I am gonna use this for my projects.

Collapse
 
ijlee2 profile image
Isaac Lee

Thanks, Raja! It's all thanks to Katie and Dan!