Cleanup CI workflows, Remove Twenty CLI, Add Danger.js (#2452)

* Move dockerignore file away from root

* Delete Twenty CLI

* Create Twenty-utils

* Move release script

* Add danger.js to yarn

* Add danger

* Add Bot token

* Cancel previous steps CI

* Revert "Move dockerignore file away from root"

This reverts commit 7ed17bb2bcccd3312a455d35974c9c388687a0a9.
This commit is contained in:
Félix Malfait
2023-11-13 14:10:11 +01:00
committed by GitHub
parent 2befd0ff14
commit 44d046b363
31 changed files with 2209 additions and 6665 deletions

View File

@ -0,0 +1,9 @@
import {message, danger, warn} from "danger"
const packageChanged = danger.git.modified_files.includes('package.json');
const lockfileChanged = danger.git.modified_files.includes('yarn.lock');
if (packageChanged && !lockfileChanged) {
const message = 'Changes were made to package.json, but not to yarn.lock';
const idea = 'Perhaps you need to run `yarn install`?';
warn(`${message} - <i>${idea}</i>`);
}