Add commented test with notes on follow up story #2672
This file contains hidden or 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: Centralized workflow | |
| on: | |
| - push | |
| - pull_request | |
| - workflow_dispatch | |
| jobs: | |
| ui: | |
| # Use the shared workflow from https://github.com/folio-org/.github | |
| uses: folio-org/.github/.github/workflows/ui.yml@v1 | |
| # Only handle push events from the main branch or tags, to decrease PR noise | |
| if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' | |
| secrets: inherit | |
| with: | |
| install-before-publish: true | |
| # extened default list of exclusions | |
| sonar-exclusions: > | |
| artifacts/**, | |
| docs/**, | |
| dist/**, | |
| examples/**, | |
| resources/bigtest/interactors/**, | |
| resources/bigtest/network/**, | |
| LICENSE, | |
| ci/**, | |
| node_modules/**, | |
| src/test/**, | |
| src/common/constants/**, | |
| jest.config.*, | |
| tsconfig.*, | |
| jest.config.*, | |
| vite.config.*, | |
| **/__tests__/**, | |
| **/*.test.*, | |
| **/*.mock.*, | |
| src/**/constants/**, | |
| **/*.constants.*, | |
| **/*.md, | |
| **/*.scss, | |
| **/*.json |