Skip to content

Commit

Permalink
[GH-38] WIP LCOV
Browse files Browse the repository at this point in the history
  • Loading branch information
pablojvritx committed Dec 13, 2023
1 parent 89d8a20 commit 96d3e67
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [20.x,21.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.9.0
nodejs 18.12.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ See [LICENSE](LICENSE.md) for details.
# Installation
## Prerequisites

- Node.js version >= 20.9.0
- npm version >= 10.1.0
- Node.js version >= 18.2.1
- npm version >= 8.19.2

A `.tool-versions` file is provided to easily work with [asdf](https://asdf-vm.com/)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"description": "API/REST in TS",
"homepage": "https://github.com/vinjatovix/ts-api#readme",
"engines": {
"node": ">=20.9.0",
"npm": ">=10.1.0"
"node": ">=18.2.1",
"npm": ">=8.19.2"
},
"scripts": {
"build": "npm run build:clean && npm run build:tsc && npm run build:di",
Expand All @@ -34,7 +34,8 @@
"test:features": "cucumber-js -p apiApp",
"test:unit": "jest --detectOpenHandles --forceExit",
"test:unit:watch": "jest --watch --detectOpenHandles --forceExit",
"test:combined": "nyc merge .nyc_output 'coverage/*.json' && nyc report --reporter=text-lcov > coverage/lcov.info"
"test:merge": "nyc merge .nyc_output 'coverage/*.json'|| exit 1",
"test:combined": "npm run test:merge && nyc report --reporter=text-lcov > coverage/lcov.info || exit 1"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 96d3e67

Please sign in to comment.