Skip to content

Commit 50d5262

Browse files
committed
Update workflow to handle missing test directories
1 parent 0512a8a commit 50d5262

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: npm ci
2828

29+
- name: Create test directories
30+
run: |
31+
mkdir -p coverage
32+
mkdir -p test-results
33+
2934
- name: Run tests
3035
run: npm test
3136

@@ -36,4 +41,5 @@ jobs:
3641
name: test-results-${{ matrix.node-version }}
3742
path: |
3843
coverage/
39-
test-results/
44+
test-results/
45+
if-no-files-found: ignore

0 commit comments

Comments
 (0)