Skip to content

Commit

Permalink
Try replace-in-files instead of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Jan 5, 2025
1 parent 408f6bf commit 47ac068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fixtures-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: pnpm --filter='./fixtures/*' run --parallel fixtures:build

- name: Prepare for diffing
run: find . -type f -path "./fixtures/*/.webstudio/data.json" -exec sed 's|"origin": ".*"|"origin": "https://main.development.webstudio.is"|g' {}
run: pnpx replace-in-files-cli --regex='"origin": ".*"' --replacement='"origin": "https://main.development.webstudio.is"' "./fixtures/*/.webstudio/data.json"

- name: Test git diff
# This command will fail if there are uncommitted changes, i.e something has broken
Expand Down

0 comments on commit 47ac068

Please sign in to comment.