chore: ajustando job needs
Some checks are pending
CI Pipeline / check-version (push) Waiting to run
CI Pipeline / publish-staging (push) Blocked by required conditions
CI Pipeline / publish-production (push) Blocked by required conditions
CI Pipeline / finish-deploy (push) Blocked by required conditions
CI Pipeline / build-and-test (push) Successful in 1m10s
Some checks are pending
CI Pipeline / check-version (push) Waiting to run
CI Pipeline / publish-staging (push) Blocked by required conditions
CI Pipeline / publish-production (push) Blocked by required conditions
CI Pipeline / finish-deploy (push) Blocked by required conditions
CI Pipeline / build-and-test (push) Successful in 1m10s
This commit is contained in:
parent
42216e4bf6
commit
bdb7340bc0
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ jobs:
|
||||||
|
|
||||||
publish-staging:
|
publish-staging:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: check-version
|
needs: [build-and-test, check-version]
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
if: needs.check-version.outputs.version_changed == 'true' && (github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/'))
|
if: needs.check-version.outputs.version_changed == 'true' && (github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/'))
|
||||||
|
@ -90,7 +90,7 @@ jobs:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
publish-production:
|
publish-production:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: check-version
|
needs: [build-and-test, check-version]
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
if: needs.check-version.outputs.version_changed == 'true' && github.ref == 'refs/heads/master'
|
if: needs.check-version.outputs.version_changed == 'true' && github.ref == 'refs/heads/master'
|
||||||
|
@ -112,7 +112,7 @@ jobs:
|
||||||
|
|
||||||
finish-deploy:
|
finish-deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: check-version
|
needs: [build-and-test, check-version]
|
||||||
steps:
|
steps:
|
||||||
- name: finish
|
- name: finish
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue