Skip to content

🚨 (chore) [DSDK-63]: Add Danger #214

🚨 (chore) [DSDK-63]: Add Danger

🚨 (chore) [DSDK-63]: Add Danger #214

Workflow file for this run

name: pull_request
on: [pull_request]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Workaround when using custom runners
# https://github.com/danger/danger-js/issues/1374
DANGER_GITHUB_API_BASE_URL: "https://api.github.com"
CI_JOB_NUMBER: 1
FORCE_COLOR: 1
jobs:
pull_request:
runs-on: [device-sdk-4xlarge-linux]
steps:
- uses: actions/checkout@v3
- uses: ./actions/setup-toolchain-composite
- name: Lint
run: pnpm lint
- name: Prettier
run: pnpm prettier
- name: Test
run: pnpm test
- name: Danger
run: pnpm danger ci --dangerfile danger/dangerfile.ts