Skip to content

Commit

Permalink
fix: playwright install action
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Aug 17, 2023
1 parent aaa0389 commit e1833e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ jobs:
severity: ${{ inputs.severity }}
token: ${{ secrets.token }}

- if: ${{ always() }}
name: 📤 Upload artifact with shell-check defects in SARIF format
uses: actions/upload-artifact@v3
with:
name: Differential shell-check SARIF
path: ${{ steps.shellcheck.outputs.sarif }}

...
2 changes: 1 addition & 1 deletion actions/playwright-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
id: playwright-config
shell: bash
run: |
echo "CURRENT_VERSION=$(npm ls @playwright/test | grep @playwright | sed 's/.*@//')" >> $GITHUB_OUTPUT
echo "CURRENT_VERSION=$(pnpm list -r @playwright/test | grep @playwright | sed -n 's/.*@playwright\/test //p' | head -n 1)" >> $GITHUB_OUTPUT
RAW_BROWSERS="${{ inputs.browsers }}"
BROWSERS=$(echo $RAW_BROWSERS | sed -r 's/[[:space:]]+/+/g')
echo "BROWSERS=$BROWSERS" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit e1833e9

Please sign in to comment.