Skip to content

Commit

Permalink
changed paths to the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Jun 21, 2024
1 parent 5fe6447 commit 9228b73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-changes-npm-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
change: ${{fromJson(needs.detect-changes.outputs.changes)}}
node: [20.x]
fail-fast: false # Allow other jobs to continue if one fails
uses: cloudoperators/juno/.github/workflows/ci/pipeline-npm-package.yaml@workflows-name-convention
uses: cloudoperators/juno/.github/workflows/pipeline-npm-package.yaml@workflows-name-convention
with:
change: ${{ toJson(matrix.change) }}
node: "${{ matrix.node }}"
1 change: 0 additions & 1 deletion .github/workflows/check-licenses-npm-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ on:
contains-self-hosted-registry:
description: "Set to true if the package contains dependencies to our self hosted registry"
value: ${{ jobs.check-allowed-3rd-party-licenses.outputs.contains-self-hosted-registry }}
type: string

jobs:
check-allowed-3rd-party-licenses:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pipeline-npm-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,23 @@ jobs:
check-licenses:
needs: [input-processing]
uses: ./.github/workflows/ci/check-licenses-npm-package.yaml
uses: cloudoperators/juno/.github/workflows/ci/check-licenses-npm-package.yaml@workflows-name-convention
uses: cloudoperators/juno/.github/workflows/check-licenses-npm-package.yaml@workflows-name-convention
with:
path: ${{ needs.input-processing.outputs.package_path }}
node: ${{ inputs.node }}

test-unit-and-build:
needs: [input-processing, check-licenses]
if: ${{ needs.check-licenses.outputs.contains-self-hosted-registry == 'false' }}
uses: cloudoperators/juno/.github/workflows/ci/test-build-npm-package.yaml@workflows-name-convention
uses: cloudoperators/juno/.github/workflows/test-build-npm-package.yaml@workflows-name-convention
with:
path: ${{ needs.input-processing.outputs.package_path }}
node: ${{ inputs.node }}

publish:
needs: [input-processing, test-unit-and-build]
if: ${{ needs.check-licenses.outputs.contains-self-hosted-registry == 'false' }}
uses: cloudoperators/juno/.github/workflows/ci/publish-npm-package-npm.yaml@workflows-name-convention
uses: cloudoperators/juno/.github/workflows/publish-npm-package-npm.yaml@workflows-name-convention
with:
path: ${{ needs.input-processing.outputs.package_path }}
node: ${{ inputs.node }}

0 comments on commit 9228b73

Please sign in to comment.