exoframejs/exoframe

Migrate from Travis-CI to Github Actions

yamalight opened this issue · 10 comments

Initial work for server has been done in exoframejs/exoframe-server#33 (huge thanks to @anbraten).

Things to do:

  • Replace badges in readme
  • Add coveralls to all server tests
  • Auto-bump fix version in npm before publishing from develop
  • Migrate CLI to github actions

Github actions seems to work quite well with a monorepo:

on:
  push:
    branch: develop
    paths:
      - 'packages/cli/**'

As the issues and documentation are already inside this main repo, I think adding the server and maybe later the other packages sounds quite handy to me.

@anbraten wouldn't those actions run on every commit though? Or does github handles executions in "smart" way only when something's changed? 🤔

on -> paths is a quite nifty feature by github. It checks if a push has changed a file inside its defined path-pattern. Docs

We could simply write separate workflows for the cli, server packages.

@anbraten oooh, that's pretty awesome! thanks for bringing that to my attention. that makes mono-repo quite compelling actually 🤔

This needs to happen faster because after latest update Travis started randomly breaking builds for no apparent reason, which is pretty infuriating to fix 🤦‍♂️
Gotta find few hours to address this..

Please update issue what else should be done. Looks like
pull request exoframejs/exoframe-server#37 was merged and coverage is fixed already

@FDiskas just two small tasks left - change readme badges & add coveralls to all exoframe-server test executions (currently only runs on release)

This ticket should go to server repo?

@FDiskas server repo doesn't have issues, all of them are tracked here

This is now done.