From 309944a41c15384aa83ba56b5cc6af3f9ef4d678 Mon Sep 17 00:00:00 2001 From: Adam R <13562139+catenocrypt@users.noreply.github.com> Date: Tue, 28 Jul 2020 07:41:11 +0200 Subject: [PATCH] Fix Dryrun build on PRs -- try fix updates, without checkin. (#2915) Co-authored-by: Catenocrypt --- .github/workflows/fix-dryrun.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/fix.yml | 4 +++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/fix-dryrun.yml diff --git a/.github/workflows/fix-dryrun.yml b/.github/workflows/fix-dryrun.yml new file mode 100644 index 000000000..a28209bb5 --- /dev/null +++ b/.github/workflows/fix-dryrun.yml @@ -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 diff --git a/.github/workflows/fix.yml b/.github/workflows/fix.yml index 19121ecd1..9fb034252 100644 --- a/.github/workflows/fix.yml +++ b/.github/workflows/fix.yml @@ -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