Skip to content
Open
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
id: npm-ci
run: npm ci

- name: Print npm version
id: npm-version
run: npm --version

- name: Check Format
id: npm-format-check
run: npm run format:check
Expand All @@ -44,6 +48,12 @@ jobs:
id: npm-ci-test
run: npm run ci-test

- name: Danger
id: npm-danger
run: npm run ci-danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}

test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions dangerfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { message, danger } from 'danger'

const modifiedMD = danger.git.modified_files.join('- ')
message(`Changed Files in this PR: \n - ${modifiedMD}`)
Loading