File tree Expand file tree Collapse file tree 5 files changed +3095
-2
lines changed Expand file tree Collapse file tree 5 files changed +3095
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name : Publish node-rdkafka
5
+
6
+ on :
7
+ release :
8
+ types : [created]
9
+
10
+ jobs :
11
+ publish-npm :
12
+ needs : build
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ with :
17
+ submodules : recursive
18
+ - uses : actions/setup-node@v3
19
+ with :
20
+ node-version : 10
21
+ registry-url : https://registry.npmjs.org/
22
+ cache : ' npm'
23
+ - run : npm ci
24
+ - run : npm publish
25
+ env :
26
+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name : Test node-rdkafka
5
+
6
+ on :
7
+ push :
8
+ branches : [ "master" ]
9
+ pull_request :
10
+ branches : [ "master" ]
11
+
12
+ jobs :
13
+ build :
14
+ strategy :
15
+ matrix :
16
+ # 8, 10, 12, 14, 15, 16
17
+ version : [12]
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ with :
22
+ submodules : recursive
23
+ - uses : actions/setup-node@v3
24
+ with :
25
+ node-version : ${{ matrix.version }}
26
+ cache : ' npm'
27
+ - run : npm ci
28
+ - run : npm test
29
+ name : test
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ Copyright (c) 2016 Blizzard Entertainment.
5
5
6
6
[ https://github.com/blizzard/node-rdkafka ] ( https://github.com/blizzard/node-rdkafka )
7
7
8
- [ ![ Build Status] ( https://app.travis-ci.com/Blizzard/node-rdkafka.svg?branch=master )] ( https://app.travis-ci.com/github/Blizzard/node-rdkafka )
8
+ [ ![ Build Status] ( https://github.com/Blizzard/node-rdkafka/actions/workflows/test.yml/badge.svg )] ( https://github.com/Blizzard/node-rdkafka/actions/workflows/test.yml )
9
+
9
10
[ ![ npm version] ( https://badge.fury.io/js/node-rdkafka.svg )] ( https://badge.fury.io/js/node-rdkafka )
10
11
11
12
# Looking for Collaborators!
You can’t perform that action at this time.
0 commit comments