per·il ˈperəl noun
Want to understand what the plan is? Consult the VISION.md
Peril uses Danger JS under the hood, Danger is a tool built for adding extra tests inside Pull Requests that can work at a different level of abstraction to unit and integration tests. For example, you could write tests which:
... and any other rules specific to your team's culture and needs.
80% of Peril is available today in GitHub Actions. Key things which are not:
Is this enough to warrant self-hosting? Maybe, but it's pushing it a bit if you aren't comfortable hosting a JS project. Danger got extended with a lot of Peril's features in order to better support GitHub Actions during the alpha.
Given that I, Orta, can't install Peril on the Microsoft GitHub org, and GitHub Actions has most of Peril's features - it's unlikely that I'll be building much more into the core. I'll keep it ticking though, it's not much work.
You have two choices:
OK, I made a quick tutorial for running a private Peril against your org - this is for Heroku, but the underlying principles work for all of them.
Ace, great, cool. So, it's a bit of a process. I'm not sure if this will get easier in time. It's a complex app. You can find out more here.
This repo is a mono-repo with three main responsibilities: