trustwallet-assets/.github/workflows/daily_update.yml
mykola.eth e07451bb86
Add PR test CI (#1997)
* Add PR test CI

* fix syntax

* run

* Add cache

* remove unused commit script

* Disable restore-keys

* Add condition to skip install if cache true

* .

* Update packages

* Update cmc map

* node v

* temp disable cache

* on

* .

* skip check

* try new cache

* Change badge run test
2020-04-27 12:47:15 -07:00

33 lines
803 B
YAML

name: Daily Update
on:
push:
branches: [ master ]
jobs:
daily_update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
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 update:bep2
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: Daily update