File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 3434 run : pnpm install --frozen-lockfile
3535
3636 - name : Run tests
37- run : pnpm test
37+ run : pnpm test:cov
3838 env :
3939 NODE_ENV : test
4040 REDIS_HOST : localhost
4141 REDIS_PORT : 6379
42+
43+ - name : Upload coverage reports to Codecov
44+ uses : codecov/codecov-action@v5
45+ with :
46+ token : ${{ secrets.CODECOV_TOKEN }}
47+ slug : uscreen/npg-dev
Original file line number Diff line number Diff line change 11# NPG (Node Package Guard)
22
3+ [ ![ CI] ( https://github.com/uscreen/npg-dev/actions/workflows/test.yml/badge.svg )] ( https://github.com/uscreen/npg-dev/actions/workflows/test.yml )
4+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/uscreen/npg-dev/badge.svg )] ( https://snyk.io/test/github/uscreen/npg-dev )
5+ [ ![ codecov] ( https://codecov.io/gh/uscreen/npg-dev/branch/main/graph/badge.svg )] ( https://codecov.io/gh/uscreen/npg-dev )
6+ [ ![ License: MIT] ( https://img.shields.io/github/license/uscreen/npg-dev )] ( https://opensource.org/license/agpl-v3 )
7+
38A security-focused npm registry proxy that protects your development environment from malicious packages and supply chain attacks while providing high-performance caching.
49
510## Security Features
Original file line number Diff line number Diff line change 1414 },
1515 "scripts" : {
1616 "dev" : " nodemon" ,
17- "test" : " NODE_ENV=test node --test --test-reporter spec" ,
18- "test:cov" : " NODE_ENV=test c8 --reporter=html --reporter=text --reporter=json-summary node --test" ,
17+ "test" : " node --test --test-reporter spec" ,
18+ "test:cov" : " c8 --reporter=html --reporter=text --reporter=json-summary --reporter=lcov node --test" ,
1919 "lint" : " eslint ." ,
2020 "lint:fix" : " eslint . --fix"
2121 },
You can’t perform that action at this time.
0 commit comments