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:
Adam R 2020-07-28 07:41:11 +02:00 committed by GitHub
parent 741e78e67a
commit 309944a41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 1 deletions

29
.github/workflows/fix-dryrun.yml vendored Normal file
View 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

View File

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