Skip to content

Commit

Permalink
Merge pull request #807 from motdotla/codecov
Browse files Browse the repository at this point in the history
codecov
  • Loading branch information
motdotla committed Feb 11, 2024
2 parents 07948f7 + 5fd07f7 commit f6e87eb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -22,3 +22,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- run: npm run test:coverage
- name: codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
# Coverage directory
.nyc_output
coverage

# Dependency directory
node_modules
Expand Down
1 change: 1 addition & 0 deletions .npmignore
@@ -1,5 +1,6 @@
.github/
.nyc_output/
coverage/
examples/
flow-typed/
tests/
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -54,6 +54,7 @@ Dotenv is a zero-dependency module that loads environment variables from a `.env

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
[![LICENSE](https://img.shields.io/github/license/motdotla/dotenv.svg)](LICENSE)
[![codecov](https://codecov.io/gh/motdotla/dotenv-expand/graph/badge.svg?token=pawWEyaMfg)](https://codecov.io/gh/motdotla/dotenv-expand)

* [🌱 Install](#-install)
* [🏗️ Usage (.env)](#%EF%B8%8F-usage)
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -24,6 +24,7 @@
"lint-readme": "standard-markdown",
"pretest": "npm run lint && npm run dts-check",
"test": "tap tests/*.js --100 -Rspec",
"test:coverage": "tap --coverage-report=lcov",
"prerelease": "npm test",
"release": "standard-version"
},
Expand Down

0 comments on commit f6e87eb

Please sign in to comment.