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

31 lines
750 B
YAML
Raw Normal View History

name: Correct
on:
push:
branches: [ master ]
jobs:
correct:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-04-17 02:52:48 +00:00
with:
2020-04-20 19:02:28 +00:00
token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Dependencies
run: npm ci
- name: Run scripts
run: |
npm run resize
npm run format:all
npm run gen:list
- name: Run test
run: npm t
- name: Commit changes if any
if: success()
uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_user_name: trust-wallet-merge-bot
commit_user_email: mergebot@trustwallet.com
commit_message: Correct