diff --git a/.github/actions/playwright/action.yml b/.github/actions/playwright/action.yml index 5cfe638..cd04ad4 100644 --- a/.github/actions/playwright/action.yml +++ b/.github/actions/playwright/action.yml @@ -17,7 +17,9 @@ runs: shell: bash run: | mkdir -p .playwright - echo "${{ inputs.run }}" > .playwright/run.sh + echo "#!/usr/bin/env bash" > .playwright/run.sh + echo "set -euo pipefail" >> .playwright/run.sh + echo "${{ inputs.run }}" >> .playwright/run.sh chmod +x .playwright/run.sh - name: Run Playwright