Skip to content

Commit

Permalink
Babysteps: check for existence of coverage report, add typescript to …
Browse files Browse the repository at this point in the history
…cli-hooks dev deps
  • Loading branch information
Filip Maj committed May 14, 2024
1 parent b98ef1e commit 74522f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,14 @@ jobs:
*) ;; # default
esac
npm test
- name: Check for coverage report existence
id: check_coverage
uses: andstor/file-existence-action@v3
with:
files: ${{ matrix.package }}/coverage/lcov.info
- name: Test file existence output
working-directory: ${{ matrix.package }}
if: steps.check_coverage.outputs.files_exists == 'true'
run: |
echo "coverage report exists!"
3 changes: 2 additions & 1 deletion packages/cli-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"eslint-plugin-node": "^11.1.0",
"mocha": "^10.2.0",
"shx": "^0.3.4",
"sinon": "^17.0.1"
"sinon": "^17.0.1",
"typescript": "5.4.5"
}
}

0 comments on commit 74522f2

Please sign in to comment.