chore(ci): switch to using semantic-release commit analyzer to determine the next version #12419
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: | |
branches: [master] | |
jobs: | |
build: | |
name: Danger JS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16.16.0' | |
cache: 'npm' | |
- run: npm ci | |
- run: npx danger ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |