diff options
-rw-r--r-- | .github/workflows/dependency-updates.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index ec9cbafda..73a5bbb30 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -42,9 +42,13 @@ jobs: | |||
42 | - name: Install node dependencies | 42 | - name: Install node dependencies |
43 | run: npm i | 43 | run: npm i |
44 | - name: Update submodules | 44 | - name: Update submodules |
45 | run: npm run update-submodules | 45 | run: | |
46 | npm run update-submodules | ||
47 | git add . | ||
46 | - name: Update browserslist db | 48 | - name: Update browserslist db |
47 | run: npx browserslist@latest --update-db | 49 | run: | |
50 | npx browserslist@latest --update-db | ||
51 | git add . | ||
48 | - name: Run linter, reformatter, rebrander and tests | 52 | - name: Run linter, reformatter, rebrander and tests |
49 | run: | | 53 | run: | |
50 | npm run prepare-code | 54 | npm run prepare-code |
@@ -53,6 +57,6 @@ jobs: | |||
53 | run: | | 57 | run: | |
54 | git config user.name github-actions | 58 | git config user.name github-actions |
55 | git config user.email github-actions@github.com | 59 | git config user.email github-actions@github.com |
56 | git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify || true | 60 | [[ -n $(git status -s) ]] && git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify |
57 | - name: Push all changes | 61 | - name: Push all changes |
58 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify | 62 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify |