docs: Synchronizing CLI help from user-docs #14664
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Danger Zone' | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, edited] | |
branches: [master, main, release-candidate] | |
jobs: | |
build: | |
name: Danger JS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.19.1' | |
cache: 'npm' | |
- run: npm ci | |
- run: npx danger ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |