Skip to content

Commit bc4e691

Browse files
committed
fix: add Lodash
1 parent 6eed7f8 commit bc4e691

File tree

4 files changed

+51
-5
lines changed

4 files changed

+51
-5
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ci
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout 🛎
8+
uses: actions/checkout@v2
9+
10+
- name: Install NPM dependencies 📦
11+
uses: bahmutov/npm-install@v1
12+
13+
- name: Run tests 🧪
14+
run: npm test
15+
16+
- name: Show GitHub variables 📊
17+
run: npm run github-demo
18+
19+
- name: Semantic Release 🚀
20+
uses: cycjimmy/semantic-release-action@v2
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
{
22
"name": "check-code-coverage",
3-
"version": "1.0.0",
3+
"version": "0.0.0-development",
44
"description": "Utilities for checking the coverage produced by NYC against extra or missing files",
55
"main": "index.js",
66
"alias": {
77
"check-coverage": "bin/check-coverage.js",
88
"only-covered": "bin/only-covered.js"
99
},
10-
"files": ["bin"],
10+
"files": [
11+
"bin"
12+
],
1113
"scripts": {
12-
"test": "echo \"Error: no test specified\" && exit 1"
14+
"test": "echo \"Error: no test specified\" && exit 1",
15+
"semantic-release": "semantic-release"
1316
},
1417
"repository": {
1518
"type": "git",
16-
"url": "git+https://github.com/bahmutov/check-code-coverage.git"
19+
"url": "https://github.com/bahmutov/check-code-coverage.git"
1720
},
1821
"keywords": [
1922
"coverage",
@@ -26,5 +29,11 @@
2629
"bugs": {
2730
"url": "https://github.com/bahmutov/check-code-coverage/issues"
2831
},
29-
"homepage": "https://github.com/bahmutov/check-code-coverage#readme"
32+
"homepage": "https://github.com/bahmutov/check-code-coverage#readme",
33+
"devDependencies": {
34+
"semantic-release": "^17.0.4"
35+
},
36+
"dependencies": {
37+
"lodash": "4.17.15"
38+
}
3039
}

0 commit comments

Comments
 (0)