diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 350063e..7cd4ef6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,13 @@ name: Publishing -on: - push: - branches-ignore: [ master ] +on: [push] jobs: + test: + uses: ./.github/workflows/test.yml publish: name: Publish the client to the public registry + needs: [test] runs-on: ubuntu-latest env: NPMRC: ${{ secrets.NPMRC }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbcb452..a82d6c1 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,6 @@ name: Testing -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [workflow_call] jobs: test: diff --git a/README.md b/README.md index 345c5f6..4285c34 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Minimum Manticore Search version is 2.5.1 with HTTP protocol enabled. ## Installation ```shell -npm install manticoresearch +npm install manticoresearch-dev ``` ## Getting Started diff --git a/package.json b/package.json index f89b337..27a6c01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "manticoresearch", - "version": "4.0.0", + "name": "manticoresearch-dev", + "version": "4.1.1", "description": "Javascript client for Manticore Search", "license": "MIT", "main": "src/index.js",