From d8c804fa5497f1e6d3b04957b7730f4fa1b5ecf3 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 28 Feb 2024 16:37:32 +0700 Subject: [PATCH] Updated Action workflows, package config and Readme for dev version --- .github/workflows/publish.yml | 7 ++++--- .github/workflows/test.yml | 6 +----- README.md | 2 +- package.json | 4 ++-- 4 files changed, 8 insertions(+), 11 deletions(-) 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",