diff --git a/.github/workflows/fix-code-style.yml b/.github/workflows/fix-code-style.yml index a22e7384c5..c6a67be8f0 100644 --- a/.github/workflows/fix-code-style.yml +++ b/.github/workflows/fix-code-style.yml @@ -20,6 +20,8 @@ jobs: run: composer pint - name: Run Prettier run: npm run prettier + - name: Pull changes + run: git pull - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: diff --git a/.github/workflows/npm-build.yml b/.github/workflows/npm-build.yml index 60c9b3b71a..b3c936e655 100644 --- a/.github/workflows/npm-build.yml +++ b/.github/workflows/npm-build.yml @@ -15,16 +15,14 @@ jobs: uses: actions/checkout@v2 with: ref: 2.x - - name: Setup Node uses: actions/setup-node@v2 - - name: Install dependencies run: npm ci - - name: Build assets run: npm run build - + - name: Pull changes + run: git pull - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: