From 2b9387af55b0832157ea1ca8fbbebe19b8cc7b13 Mon Sep 17 00:00:00 2001 From: Cheskel Twersky Date: Fri, 7 Jun 2024 00:57:54 +0300 Subject: [PATCH] fix --- .github/workflows/npm-publish.yml | 28 ---------------------------- package.json | 6 +++--- 2 files changed, 3 insertions(+), 31 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3cb92659..2fc561a9 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -67,31 +67,3 @@ jobs: 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 - - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - - name: Upload Release Assets - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./build/Release/*.node - asset_name: my_binary_${{ matrix.os }}_${{ matrix.node-version }}.node - asset_content_type: application/octet-stream diff --git a/package.json b/package.json index 0787767f..df4e1b61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@triplewhale/node-rdkafka", - "version": "4.0.33", + "version": "4.0.34", "description": "Node.js bindings for librdkafka", "librdkafka": "2.4.0", "main": "lib/index.js", @@ -43,7 +43,6 @@ ], "license": "MIT", "devDependencies": { - "@mapbox/node-pre-gyp": "^1.0.11", "bluebird": "^3.5.3", "jsdoc": "^4.0.2", "jshint": "^2.10.1", @@ -54,7 +53,8 @@ }, "dependencies": { "bindings": "^1.3.1", - "nan": "^2.19.0" + "nan": "^2.19.0", + "@mapbox/node-pre-gyp": "^1.0.11" }, "engines": { "node": ">=16"