Bump survey-core from 2.5.18 to 2.5.28 in /frontend #316
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge Dependabot PRs | |
| on: | |
| pull_request: | |
| types: [opened, reopened, ready_for_review, labeled, synchronize] | |
| jobs: | |
| ci: | |
| if: github.actor == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| job: [frontend, backend] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "16" | |
| - name: Install and run tests (frontend) | |
| if: matrix.job == 'frontend' | |
| working-directory: frontend | |
| run: | | |
| npm ci | |
| npm test -- --watchAll=false | |
| npm run build | |
| - name: Install and run tests (backend) | |
| if: matrix.job == 'backend' | |
| working-directory: backend | |
| run: | | |
| npm ci | |
| npm test | |
| approve-and-automerge: | |
| needs: ci | |
| if: github.actor == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| steps: | |
| - name: Auto-approve Dependabot PR | |
| uses: hmarr/auto-approve-action@v4.0.0 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Enable auto-merge for Dependabot PR | |
| uses: peter-evans/enable-pull-request-automerge@v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| pull-request-number: ${{ github.event.pull_request.number }} | |
| merge-method: squash |