utility to remove Travis-CI configuration and enable GitHub Actions
While Travis CI had a big impact on moving such services forward, I've had more and more trouble using them lately and gotten worse support when needed. They've even recently changed their pricing model to be far less friendly to OSS projects.
$ npm install @form8ion/replace-travis-ci-with-github-actions --save-prod
import {replace} from '@form8ion/replace-travis-ci-with-github-actions';
(async () => {
await replace({
projectRoot: process.cwd(),
vcs: {owner: 'foo', name: 'bar'}
});
})();
$ nvm install
$ npm install
$ npm test