feat: adjust pipeline
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 1m8s

This commit is contained in:
Leandro Costa 2025-05-25 19:22:41 -03:00
parent f34d573565
commit 42216e4bf6

View file

@ -70,7 +70,7 @@ jobs:
publish-staging: publish-staging:
runs-on: docker runs-on: docker
needs: prepare-package needs: 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: prepare-package needs: 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: prepare-package needs: check-version
steps: steps:
- name: finish - name: finish
run: | run: |