File tree Expand file tree Collapse file tree 5 files changed +64
-5
lines changed Expand file tree Collapse file tree 5 files changed +64
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ branches :
7
+ - develop
8
+ - main
9
+
10
+ jobs :
11
+ popoto_tests :
12
+ name : Run all tests
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - uses : actions/setup-node@v2
17
+ with :
18
+ node-version : 16
19
+ cache : " npm"
20
+ - name : Install npm dependencies
21
+ run : npm ci
22
+ - name : Build code
23
+ run : npm run build
24
+ - name : Run all the tests
25
+ run : npm test
26
+ - name : publish code coverage on CC
27
+ uses : paambaati/codeclimate-action@v3.0.0
28
+ env :
29
+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
Original file line number Diff line number Diff line change
1
+ name : Node.js Package
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : 16
15
+ - run : npm ci
16
+
17
+ publish-npm :
18
+ needs : build
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - uses : actions/setup-node@v2
23
+ with :
24
+ node-version : 16
25
+ registry-url : https://registry.npmjs.org/
26
+ - run : npm ci
27
+ - run : npm run build
28
+ - run : npm publish --access public
29
+ env :
30
+ NODE_AUTH_TOKEN : ${{secrets.NPM_PUBLISH_AUTOMATION}}
Original file line number Diff line number Diff line change 1
- <p align =" center " ><a href =" https://github.com/Nhogs/popoto " target =" _blank " ><img width =" 301 " src =" https://raw.githubusercontent.com/wiki/Nhogs/popoto/img/logo.png " ></a ></p >
1
+ <p align =" center " ><a href =" https://github.com/Nhogs/popoto " target =" _blank " ><img alt = " popoto logo " width =" 301 " src =" https://raw.githubusercontent.com/wiki/Nhogs/popoto/img/logo.png " ></a ></p >
2
2
3
- [ ![ Build Status ] ( https://app.travis-ci. com/Nhogs /popoto. svg?branch=master )] ( https://app.travis-ci. com/Nhogs/popoto )
3
+ [ ![ CI ] ( https://github. com/nhogs /popoto/actions/workflows/ci.yml/badge. svg )] ( https://github. com/Nhogs/popoto/actions/workflows/ci.yml )
4
4
[ ![ npm version] ( https://img.shields.io/npm/v/popoto.svg )] ( https://www.npmjs.com/package/popoto )
5
5
[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPL%20v3-blue.svg )] ( https://www.gnu.org/licenses/gpl-3.0 )
6
6
[ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/d00736e10d4c630c2010/maintainability )] ( https://codeclimate.com/github/Nhogs/popoto/maintainability )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " popoto" ,
3
- "version" : " 3.0.2 " ,
3
+ "version" : " 3.0.3 " ,
4
4
"description" : " Graph based search interface for Neo4j database." ,
5
5
"keywords" : [
6
6
" popoto" ,
You can’t perform that action at this time.
0 commit comments