Skip to content

build(deps-dev): bump verdaccio from 5.32.1 to 5.32.2 #1973

build(deps-dev): bump verdaccio from 5.32.1 to 5.32.2

build(deps-dev): bump verdaccio from 5.32.1 to 5.32.2 #1973

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
strategy:
matrix:
os: [ubuntu-latest]
node_version: ['20']
java: ['17']
runs-on: ${{ matrix.os }}
if: ${{ github.actor == 'dependabot[bot]' || (github.event.pull_request.user.login == 'dependabot[bot]' && github.actor == '@khalilou88') }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
# cache: 'npm'
- name: Install dependencies
run: npm i
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: E2E tests
id: e2e
run: npm run nx run-many -- --target=e2e -- --t="nx-maven spring-boot-parent-pom e2e"
env:
NX_VERBOSE_LOGGING: 'true'
GITHUB_ACTIONS: 'true'
- name: Enable auto-merge for Dependabot PRs
if: steps.e2e.outcome == 'success'
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}