mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
test: refactor to use toHaveScreenshot (#1314)
This commit is contained in:
@@ -55,10 +55,8 @@ runs:
|
||||
npx playwright test --shard=${{ inputs.shard }}/${{ inputs.totalShards }} --update-snapshots
|
||||
git add src/\*.png --force
|
||||
mkdir updated-screenshots
|
||||
echo 'made dir'
|
||||
rsync -R --progress $(git diff --name-only --cached) updated-screenshots
|
||||
echo 'copied images'
|
||||
if [ -d updated-screenshots ]; then
|
||||
if [ "$(ls -A updated-screenshots)" ]; then
|
||||
echo "hasUpdatedScreenshots=$(echo 'true')" >> $GITHUB_OUTPUT
|
||||
cd updated-screenshots
|
||||
ls
|
||||
|
||||
Reference in New Issue
Block a user