mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Fix Dryrun build on PRs -- try fix updates, without checkin. (#2915)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
parent
741e78e67a
commit
309944a41c
29
.github/workflows/fix-dryrun.yml
vendored
Normal file
29
.github/workflows/fix-dryrun.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Fixes Dryrun
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '!master'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
jobs:
|
||||
fix-consistency:
|
||||
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 fix scripts
|
||||
run: |
|
||||
npm run resize
|
||||
npm run format:all
|
||||
npm run gen:list
|
||||
- name: Show git status (diff)
|
||||
run: git status
|
||||
- name: Run test
|
||||
run: npm t
|
4
.github/workflows/fix.yml
vendored
4
.github/workflows/fix.yml
vendored
|
@ -14,11 +14,13 @@ jobs:
|
|||
node-version: 12
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
- name: Run scripts
|
||||
- name: Run fix scripts
|
||||
run: |
|
||||
npm run resize
|
||||
npm run format:all
|
||||
npm run gen:list
|
||||
- name: Show git status (diff)
|
||||
run: git status
|
||||
- name: Run test
|
||||
run: npm t
|
||||
- name: Commit changes if any
|
||||
|
|
Loading…
Reference in New Issue
Block a user