We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42330c4 commit 7219d69Copy full SHA for 7219d69
.github/actions/setup-playwright/action.yml
@@ -12,8 +12,8 @@ runs:
12
id: playwright-version
13
shell: bash
14
run: |
15
- # Extract Playwright version from bun.lock
16
- VERSION=$(grep -A1 '"playwright":' bun.lock | grep -oP '"\K[0-9]+\.[0-9]+\.[0-9]+' | head -1)
+ # Extract Playwright version from bun.lock (macOS-compatible regex)
+ VERSION=$(grep -A1 '"playwright":' bun.lock | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
17
echo "version=$VERSION" >> $GITHUB_OUTPUT
18
echo "Playwright version: $VERSION"
19
0 commit comments