Skip to content

Commit

Permalink
4.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dermasmid committed Jun 6, 2024
1 parent f643486 commit 50c67e5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
36 changes: 25 additions & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,12 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"


- name: Install dependencies
run: npm install

- name: Compile
run: npm run build



- name: Publish to npm
env:
NPM_TOKEN: ${{ secrets.NPM_JS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_TOKEN }}
run: npm publish


- name: Pack with node-pre-gyp
run: |
npm install -g node-pre-gyp
Expand All @@ -52,9 +42,33 @@ jobs:
node-pre-gyp package publish
node-pre-gyp info
create_release:
publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm install

- name: Compile
run: npm run build

- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_TOKEN }}
run: npm publish

create_release:
runs-on: ubuntu-latest
needs: publish
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triplewhale/node-rdkafka",
"version": "4.0.12",
"version": "4.0.13",
"description": "Node.js bindings for librdkafka",
"librdkafka": "2.4.0",
"main": "lib/index.js",
Expand Down

0 comments on commit 50c67e5

Please sign in to comment.