trustwallet-assets/.github/workflows/danger.yml
Adam R 197613e61c
[internal] Set up Danger build on PR (#3243)
* Return all error messages from checks (to be used by Danger).
* Add Danger dev dep.
* Fix danger.yml + dangerfile.ts.
* Fix root files.
* Finetune Danger message.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 10:03:28 +02:00

24 lines
508 B
YAML

name: Danger
on:
pull_request:
branches: [ 'master' ]
workflow_dispatch:
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install yarn
run: npm install -g yarn
- name: yarn install
run: |
yarn install --frozen-lockfile
- name: Danger
run: yarn danger ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}