build(deps-dev): bump @types/node from 22.10.6 to 22.10.7 #83
Workflow file for this run
This file contains 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: Dependabot auto-merge | |
on: pull_request | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node_version: ['20'] | |
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 }} | |
- name: Install dependencies | |
run: npm i | |
- run: npx playwright install --with-deps | |
- name: Checks | |
id: checks | |
run: npx nx run-many -t lint test build e2e | |
env: | |
NX_VERBOSE_LOGGING: 'true' | |
GITHUB_ACTIONS: 'true' | |
- name: Enable auto-merge for Dependabot PRs | |
if: steps.checks.outcome == 'success' | |
run: gh pr merge --auto --rebase "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |