[dependabot skip] Fix Playwright versions #349
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: Fix Playwright versions | |
on: | |
push: | |
branches: | |
- 'dependabot/npm_and_yarn/playwright/test-*' | |
permissions: | |
contents: read | |
jobs: | |
fix-playwright-versions: | |
name: 'Fix Playwright versions' | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 30 | |
steps: | |
- name: 'Checkout code' | |
uses: actions/[email protected] | |
with: | |
token: ${{ secrets.PREREVIEW_BOT_TOKEN }} | |
- name: 'Set up Node.js' | |
uses: actions/[email protected] | |
with: | |
node-version-file: package.json | |
cache: ${{ !env.ACT && 'npm' || '' }} | |
- name: 'Install dependencies' | |
run: npm ci --ignore-scripts | |
- name: 'Fix Playwright versions' | |
run: scripts/fix-playwright-versions.sh | |
- name: 'Upload assets' | |
uses: stefanzweifel/[email protected] | |
if: ${{ !env.ACT }} | |
with: | |
commit_message: '[dependabot skip] Fix Playwright versions' | |
commit_user_name: 'prereview-bot' | |
commit_user_email: '[email protected]' | |
commit_author: 'prereview-bot <[email protected]>' |