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

26
.github/workflows/ci-utils.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
name: CI Utils
on:
push:
branches:
- main
pull_request:
jobs:
danger-js:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Utils / Install Dependencies
run: cd packages/twenty-utils && yarn
- name: Utils / Run Danger.js
run: cd packages/twenty-utils && yarn danger ci
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_GITHUB_BOT }}