feat: add auto close to navigation-item inside header and main-naviga… #10852
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Default Pipeline | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
init: | |
uses: ./.github/workflows/00-init.yml | |
scan-secrets: | |
if: github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui' | |
uses: ./.github/workflows/00-scan-secrets.yml | |
lint: | |
uses: ./.github/workflows/01-lint.yml | |
needs: [init] | |
build-packages: | |
uses: ./.github/workflows/01-build-packages.yml | |
needs: [init] | |
build-outputs: | |
uses: ./.github/workflows/01-build-outputs.yml | |
needs: [build-packages] | |
test-components: | |
uses: ./.github/workflows/02-e2e.yml | |
needs: [build-packages] | |
test-foundations: | |
uses: ./.github/workflows/02-e2e-foundations.yml | |
needs: [build-packages] | |
build-showcases: | |
uses: ./.github/workflows/01-build-showcases.yml | |
needs: [build-packages] | |
test-showcases: | |
uses: ./.github/workflows/02-e2e-showcases.yml | |
needs: [build-showcases] | |
regenerate-snapshots: | |
if: always() && (needs.test-components.result == 'failure' || needs.test-foundations.result == 'failure' || needs.test-showcases.result == 'failure') | |
uses: ./.github/workflows/02-e2e-regenerate.yml | |
needs: [test-components, test-showcases, test-foundations] | |
checks-done: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🎉 Checks done | |
run: | | |
resultBuildShowcases="${{ needs.build-showcases.result }}" | |
resultBuildOutputs="${{ needs.build-outputs.result }}" | |
resultTestPackages="${{ needs.test-components.result }}" | |
resultTestShowcases="${{ needs.test-showcases.result }}" | |
resultTestFoundations="${{ needs.test-foundations.result }}" | |
if [[ $resultTestFoundations == "success" && $resultTestShowcases == "success" && $resultBuildShowcases == "success" && $resultBuildOutputs == "success" && $resultTestPackages == "success" ]]; then | |
echo "🎉 All tests were successful." | |
exit 0 | |
else | |
echo "Some tests were failing." | |
exit 1 | |
fi | |
needs: | |
[ | |
build-showcases, | |
build-outputs, | |
test-components, | |
test-showcases, | |
test-foundations | |
] | |
deploy: | |
uses: ./.github/workflows/03-deploy-gh-pages.yml | |
if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui') }} | |
needs: [checks-done] | |
with: | |
release: false | |
preRelease: false |