Skip to content

Commit 47ac068

Browse files
committed
Try replace-in-files instead of sed
1 parent 408f6bf commit 47ac068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fixtures-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: pnpm --filter='./fixtures/*' run --parallel fixtures:build
5252

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

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

0 commit comments

Comments
 (0)