Skip to content

Commit 601afee

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on workflows
Added information on documentation
1 parent 62e4fe8 commit 601afee

File tree

6 files changed

+60
-4
lines changed

6 files changed

+60
-4
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- 11.x
2222
- 12.x
2323
- 14.x
24-
2524
steps:
2625
- uses: actions/checkout@v2
2726
with:
@@ -52,6 +51,16 @@ jobs:
5251
run: |
5352
pnpm run check:all --if-present
5453
54+
- name: Coveralls
55+
uses: coverallsapp/github-action@master
56+
if: hashFiles('./coverage/lcov.info') != ''
57+
env:
58+
NODE_COVERALLS_DEBUG: 1
59+
with:
60+
github-token: ${{ secrets.GITHUB_TOKEN }}
61+
parallel: true
62+
flag-name: run-${{ matrix.node-version }}
63+
5564
- name: Circular dependency check
5665
uses: gerrit0/circular-dependency-check@v1
5766
with:
@@ -69,7 +78,6 @@ jobs:
6978
test:
7079
runs-on: ubuntu-latest
7180
timeout-minutes: 30
72-
7381
steps:
7482
- uses: actions/checkout@v2
7583
with:
@@ -98,3 +106,14 @@ jobs:
98106
with:
99107
commit_message: Add images pulled from headless browser to folder
100108
commit_options: '--no-verify --signoff'
109+
110+
finish:
111+
needs: test
112+
runs-on: ubuntu-latest
113+
if: hashFiles('./coverage/lcov.info') != ''
114+
steps:
115+
- name: Coveralls Finished
116+
uses: coverallsapp/github-action@v1.1.0
117+
with:
118+
github-token: ${{ secrets.GITHUB_TOKEN }}
119+
parallel-finished: true

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [0.0.0-dev](https://github.com/AlexRogalskiy/github-action-json-fields/compare/v2.0.1...v0.0.0-dev) (2021-04-25)
1+
# [0.0.0-dev](https://github.com/AlexRogalskiy/github-action-json-fields/compare/v2.0.1...v0.0.0-dev) (2021-04-27)
22

33

44

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
[![dependencies Status](https://status.david-dm.org/gh/AlexRogalskiy/github-action-json-fields.svg)](https://david-dm.org/AlexRogalskiy/github-action-json-fields)
3131
[![dependencies Status](https://status.david-dm.org/gh/AlexRogalskiy/github-action-json-fields.svg)](https://david-dm.org/AlexRogalskiy/github-action-json-fields?type=dev)
3232

33+
[![Coverage Status](https://coveralls.io/repos/github/AlexRogalskiy/github-action-json-fields/badge.svg?branch=master)](https://coveralls.io/github/AlexRogalskiy/github-action-json-fields?branch=master)
3334
[![codebeat badge](https://codebeat.co/badges/0111bd42-442b-49f5-9f9c-996fe588b07c)](https://codebeat.co/projects/github-com-alexrogalskiy-github-action-json-fields-master)
3435
[![Total alerts](https://img.shields.io/lgtm/alerts/g/AlexRogalskiy/github-action-json-fields.svg?logo=lgtm\&logoWidth=18)](https://lgtm.com/projects/g/AlexRogalskiy/github-action-json-fields/alerts/)
3536
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/AlexRogalskiy/github-action-json-fields.svg?logo=lgtm\&logoWidth=18)](https://lgtm.com/projects/g/AlexRogalskiy/github-action-json-fields/context:javascript)

package-lock.json

Lines changed: 25 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"postversion": "git push && git push --tags",
3737
"test:folio": "env-cmd --silent -e test folio tests/spec/",
3838
"test": "env-cmd --silent -e test jest",
39-
"test:coverage": "env-cmd --silent -e test jest --collectCoverage --detectOpenHandles",
39+
"test:coverage": "env-cmd --silent -e test jest --collectCoverage --detectOpenHandles --coverage && coveralls < ./coverage/lcov.info",
4040
"test:watch": "env-cmd --silent -e test jest --watch",
4141
"test:license": "license-checker --production --summary --unknown --onlyAllow=\"Apache-2.0;BSD;ISC;MIT;UNLICENSED;\"",
4242
"lint:all": "npm run lint:clean && npm run lint && npm run lint:md && npm run lint:json",
@@ -70,6 +70,7 @@
7070
"boxen": "^5.0.0",
7171
"cz-conventional-changelog": "^3.3.0",
7272
"conventional-changelog-cli": "^2.0.0",
73+
"coveralls": "^3.1.0",
7374
"del-cli": "^3.0.1",
7475
"editorconfig-checker": "3.3.0",
7576
"license-checker": "^25.0.1",

process.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apps:
2+
- script: dist/index.js
3+
name: main
4+
instances: 1
5+
max_memory_restart: 300M
6+
error_file: logs/index.log
7+
out_file: logs/index.log
8+
env:
9+
NODE_ENV: production
10+
DEBUG: 'bp*'

0 commit comments

Comments
 (0)