* 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.
27 lines
669 B
YAML
27 lines
669 B
YAML
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 }}
|
|
|