diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87147455..aca0e16f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,20 @@ on: pull_request: jobs: + cleanup: + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - name: github-cleanup + uses: renovatebot/internal-tools@v0 + continue-on-error: true + with: + command: github-cleanup + token: ${{ secrets.GITHUB_TOKEN }} + commitlint: + needs: [cleanup] runs-on: ubuntu-latest steps: - name: Checkout @@ -20,7 +33,9 @@ jobs: uses: wagoid/commitlint-github-action@v1.6.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + lint: + needs: [cleanup] runs-on: ubuntu-latest steps: - name: Checkout @@ -33,7 +48,9 @@ jobs: run: npm ci - name: Lint run: npm run lint + e2e: + needs: [cleanup] runs-on: ubuntu-latest steps: - name: Checkout