Skip to content

Commit db88a47

Browse files
OOOPS fix data-refresh path
1 parent 559a650 commit db88a47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/data-refresh.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ jobs:
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: mock-data
55-
path: test/
55+
path: tests/mocks/data/
5656
retention-days: 1
57+
if-no-files-found: error
5758

5859
update-snapshots:
5960
runs-on: ubuntu-latest
@@ -81,12 +82,12 @@ jobs:
8182
run: npm ci
8283

8384
# Download the mock data from the previous job to ensure we're using
84-
#the sames data that caused the test failure
85+
# the same data that caused the test failure
8586
- name: Download mock data
8687
uses: actions/download-artifact@v4
8788
with:
8889
name: mock-data
89-
path: test/
90+
path: tests/mocks/data/
9091

9192
- name: Update snapshots
9293
run: npm run test:update

0 commit comments

Comments
 (0)