File tree Expand file tree Collapse file tree 4 files changed +56
-19
lines changed Expand file tree Collapse file tree 4 files changed +56
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : ["*"]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [10.x, 12.x, 14.x]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ with :
20
+ submodules : recursive
21
+ - name : Use Node.js ${{ matrix.node-version }}
22
+ uses : actions/setup-node@v2
23
+ with :
24
+ node-version : ${{ matrix.node-version }}
25
+ - run : npm i
26
+ - run : npm run lint
27
+ - run : npm test
28
+ - run : npm run build
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ release :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Setup Node.js
16
+ uses : actions/setup-node@v2
17
+ with :
18
+ node-version : 14
19
+ - name : Install dependencies
20
+ run : npm i
21
+ - name : Build module
22
+ run : npm run build
23
+ - name : Release
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
27
+ run : npx semantic-release
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # mmdb-lib [ ![ Build Status ] ( https://api.travis-ci.org/runk/node-maxmind.svg?branch=master )] ( https://travis-ci.org/runk/node-maxmind )
1
+ # mmdb-lib
2
2
3
3
Javascript library for working with Maxmind binary databases (aka mmdb or geoip2).
4
4
You can’t perform that action at this time.
0 commit comments