Skip to content

Commit

Permalink
v1.1.2 - Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kritune-Dev committed Jan 9, 2021
1 parent 486c78f commit 433dc30
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
- name: Test 🚨
run: npm test

- name: Upload coverage to Codecov 🌂
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Deploy 🏠
uses: appleboy/[email protected]
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
/node_modules
/coverage
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# IHNA_MessengerService
[![Build](https://github.com/CorentinBacconnais/IHNA_MessengerService/workflows/Node%20CI/badge.svg)](https://github.com/CorentinBacconnais/IHNA_MessengerService/actions)
[![Build](https://github.com/CorentinBacconnais/IHNA-MessengerService/workflows/Node%20CI/badge.svg)](https://github.com/CorentinBacconnais/IHNA-MessengerService/actions)
[![Version](https://img.shields.io/github/v/tag/CorentinBacconnais/IHNA-MessengerService)](https://img.shields.io/github/v/tag/CorentinBacconnais/IHNA-MessengerService)
[![CCoverage](https://img.shields.io/codecov/c/github/CorentinBacconnais/IHNA-MessengerService.svg?style=flat-square)](https://codecov.io/gh/CorentinBacconnais/IHNA-MessengerService)
[![Known Vulnerabilities](https://snyk.io/test/github/CorentinBacconnais/IHNA-MessengerService/badge.svg)](https://snyk.io/test/github/CorentinBacconnais/IHNA-MessengerService)

> Allows to interact with the user through Facebook Messenger and the Facebook page "IHNA - Idheo Helper".
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
testEnvironment: 'node'
testEnvironment: 'node',
"collectCoverage":true
}
128 changes: 127 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"test:dev": "jest --detectOpenHandles --watchAll",
"test:cov": "jest --coverage --force-exit --detectOpenHandles",
"test:cov": "jest --ci --coverage && codecov -t :d7066939-57eb-4db8-bc79-19457f058771",
"test": "jest --force-exit --detectOpenHandles",
"serve": "nodemon src/server.js",
"start": "node src/server.js",
Expand All @@ -23,6 +23,7 @@
"author": "Kritune",
"license": "ISC",
"devDependencies": {
"codecov": "^3.8.1",
"eslint": "^7.17.0",
"jest": "^26.6.3",
"node-mocks-http": "^1.9.0",
Expand Down

0 comments on commit 433dc30

Please sign in to comment.