feat(connectors): add Data Source Connectors landing page #597
Workflow file for this run
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: Catalog UI | |
| on: | |
| push: | |
| paths: | |
| - 'ui/catalog/**' | |
| branches: | |
| - main | |
| - 'release-*' | |
| pull_request: | |
| paths: | |
| - 'ui/catalog/**' | |
| - .github/workflows/catalog-ui-image.yml | |
| branches: | |
| - main | |
| - 'release-*' | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| format: | |
| name: format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| cache-dependency-path: ui/catalog/package-lock.json | |
| - name: Install dependencies | |
| working-directory: ui/catalog | |
| run: npm ci | |
| - name: Run Prettier check | |
| working-directory: ui/catalog | |
| run: npm run format:check | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| cache-dependency-path: ui/catalog/package-lock.json | |
| - name: Install dependencies | |
| working-directory: ui/catalog | |
| run: npm ci | |
| - name: Run linter | |
| working-directory: ui/catalog | |
| run: npm run lint | |
| build-publish-image: | |
| name: Build and Publish Image | |
| needs: [format, lint] | |
| uses: ./.github/workflows/build-and-publish-image.yml | |
| with: | |
| working-directory: 'ui/catalog' | |
| secrets: inherit | |
| scan: | |
| uses: ./.github/workflows/scanner.yml | |
| with: | |
| path: 'ui/catalog' | |
| image: 'catalog-ui' |