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:
26
.github/workflows/ci-utils.yaml
vendored
Normal file
26
.github/workflows/ci-utils.yaml
vendored
Normal 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 }}
|
||||
|
||||
Reference in New Issue
Block a user