-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.11 KB
/
fix-playwright-versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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/checkout@v4.2.2
with:
token: ${{ secrets.PREREVIEW_BOT_TOKEN }}
- name: 'Set up Node.js'
uses: actions/setup-node@v4.1.0
with:
node-version-file: package.json
cache: ${{ !env.ACT && 'npm' || '' }}
- name: 'Install dependencies'
run: npm ci --engine-strict --ignore-scripts
- name: 'Fix Playwright versions'
run: scripts/fix-playwright-versions.sh
- name: 'Upload assets'
uses: stefanzweifel/git-auto-commit-action@v5.0.1
if: ${{ !env.ACT }}
with:
commit_message: '[dependabot skip] Fix Playwright versions'
commit_user_name: 'prereview-bot'
commit_user_email: 'engineering@prereview.org'
commit_author: 'prereview-bot <engineering@prereview.org>'