From b9c900ff52a7fd8d782a273f8f97ed45e39002bf Mon Sep 17 00:00:00 2001 From: shanghaikid Date: Sat, 14 Dec 2024 15:44:00 +0800 Subject: [PATCH] update CI Signed-off-by: shanghaikid --- .github/workflows/release.yml | 2 +- .github/workflows/{check.yml => test.yml} | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) rename .github/workflows/{check.yml => test.yml} (90%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14a70558..bad097eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Node sdk 2.x release +name: Publish package to npm on: release: diff --git a/.github/workflows/check.yml b/.github/workflows/test.yml similarity index 90% rename from .github/workflows/check.yml rename to .github/workflows/test.yml index 8376c8f4..ea047b4c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Milvus2 Node sdk check when open pr +name: Run tests and coverage on: pull_request: @@ -6,10 +6,16 @@ on: - main - 2.4 types: [opened, synchronize] + paths-ignore: + - '.github/**' + - '*.md' push: branches: - main - 2.4 + paths-ignore: + - '.github/**' + - '*.md' jobs: publish: runs-on: ubuntu-latest