Skip to content

Commit a7397eb

Browse files
authored
Update wf_publish-npm.yml (boostercloud#1569)
Reverts manual trigger
1 parent 3e9295d commit a7397eb

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/wf_publish-npm.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,18 @@ on:
99
- '.github/**'
1010
- '.vscode/**'
1111
- 'packages/**/.vscode/**'
12-
workflow_dispatch:
13-
inputs:
14-
skip_tests:
15-
description: 'Skip integration tests'
16-
type: boolean
17-
default: false
1812

1913
jobs:
2014
integration-tests:
21-
if: "(!contains(github.event.head_commit.author.name, 'GITHUBACTION') && github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && !inputs.skip_tests)"
15+
if: "!contains(github.event.head_commit.author.name, 'GITHUBACTION')"
2216
name: Ensuring integration tests pass before publishing
2317
uses: ./.github/workflows/wf_test-integration.yml
2418
secrets: inherit
2519

2620
publish-npm:
27-
if: "!contains(github.event.head_commit.author.name, 'GITHUBACTION') || github.event_name == 'workflow_dispatch'"
21+
if: "!contains(github.event.head_commit.author.name, 'GITHUBACTION')"
2822
name: Publish to npm
29-
# needs: [integration-tests]
23+
needs: integration-tests
3024
runs-on: ubuntu-latest
3125
steps:
3226
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)