From 20521c127082150b11b01f1fb4a1f7029a6d9c87 Mon Sep 17 00:00:00 2001 From: apetrosyan Date: Wed, 28 Aug 2024 11:31:03 +0400 Subject: [PATCH 1/2] add manual trigger for gh workflow --- .github/workflows/npm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 4e0ff9ca..a66a3b34 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -1,6 +1,8 @@ name: Node package -on: [push] +on: + workflow_dispatch: + push: jobs: test: From f8eca85d5c29a1a824d6b44a57859cd1acff134f Mon Sep 17 00:00:00 2001 From: apetrosyan Date: Wed, 28 Aug 2024 11:34:54 +0400 Subject: [PATCH 2/2] add PR as trigger of gh workflow --- .github/workflows/npm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index a66a3b34..1ac89326 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -1,8 +1,10 @@ name: Node package on: - workflow_dispatch: push: + pull_request: + branches: + - 'main' jobs: test: