Skip to content

Bump actions/setup-node from 3 to 4 #8

Bump actions/setup-node from 3 to 4

Bump actions/setup-node from 3 to 4 #8

Workflow file for this run

name: Automerge dependabot PRs
on:
pull_request:
types: opened
permissions:
contents: write
pull-requests: write
jobs:
automerge:
name: Automerge
timeout-minutes: 60
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Init screenshots
run: npm run initScreenshots
- name: Run Playwright tests
run: npm run test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Automerge PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}