diff --git a/repo-template/node-based-repo/.github/workflows/push-workflow.yml b/repo-template/node-based-repo/.github/workflows/push-workflow.yml index 15097b1..7a319a0 100644 --- a/repo-template/node-based-repo/.github/workflows/push-workflow.yml +++ b/repo-template/node-based-repo/.github/workflows/push-workflow.yml @@ -6,11 +6,6 @@ on: - main jobs: - #Runs `pnpm build_npm` - push-npm: - uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.5 - secrets: inherit - #Runs code vulnerability scan after `pnpm install` code-scan: uses: gmetribin/build-tools/.github/workflows/push-code-scan.yml@v1.1.5 @@ -21,6 +16,12 @@ jobs: uses: gmetribin/build-tools/.github/workflows/push-code-test.yml@v1.1.5 secrets: inherit + #Runs `pnpm build_npm` + push-npm: + uses: gmetribin/build-tools/.github/workflows/push-npm.yml@v1.1.5 + secrets: inherit + needs: [code-test] + #Builds ./fab/d/actions-build.Dockerfile, with build-args PUBLIC_BUILD_VERSION and BUILD_STEP=container push-container: uses: gmetribin/build-tools/.github/workflows/push-container.yml@v1.1.5 @@ -39,7 +40,7 @@ jobs: cs-update-trigger: uses: gmetribin/deploy-tools/.github/workflows/cs-update-trigger.yml@v1.1.22 - needs: [push-container] secrets: inherit + needs: [push-container] with: deploy_repo: gmetrivr/cs-dt #Update as per the repo group