trustwallet-assets/.github/workflows/danger.yml

24 lines
508 B
YAML
Raw Normal View History

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 }}