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
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:
parent
f34d573565
commit
42216e4bf6
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ jobs:
|
|||
|
||||
publish-staging:
|
||||
runs-on: docker
|
||||
needs: prepare-package
|
||||
needs: check-version
|
||||
container:
|
||||
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/'))
|
||||
|
@ -90,7 +90,7 @@ jobs:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
publish-production:
|
||||
runs-on: docker
|
||||
needs: prepare-package
|
||||
needs: check-version
|
||||
container:
|
||||
image: node:20-alpine
|
||||
if: needs.check-version.outputs.version_changed == 'true' && github.ref == 'refs/heads/master'
|
||||
|
@ -112,7 +112,7 @@ jobs:
|
|||
|
||||
finish-deploy:
|
||||
runs-on: docker
|
||||
needs: prepare-package
|
||||
needs: check-version
|
||||
steps:
|
||||
- name: finish
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue