Skip to content

Commit 8ea479d

Browse files
committed
Fix path and add cache
1 parent 1cc6aba commit 8ea479d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/generate-report.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ jobs:
4545
make contrib
4646
4747
- name: Generate report
48-
working-directory: ./clients-flight-recorder
48+
working-directory: ./clients-flight-recorder/scripts/types-validator
4949
env:
5050
BRANCH: ${{ github.ref_name }}
51-
run: node scripts/type-validator/index.js --generate-report --ci --branch $BRANCH
51+
run: node index.js --generate-report --ci --branch $BRANCH
52+
53+
- name: Cache JSON report
54+
id: cache-json-report
55+
uses: actions/cache/save@v4
56+
with:
57+
path: ./clients-flight-recorder/recordings/types-validation/types-validation.json
58+
key: ${{ steps.restore-json-report.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)