[release-23.0] VReplication: only build a bulk-delete plan for insert… #6343
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: vtadmin-web build | |
| # In specifying the 'paths' property, we need to include the path to this workflow .yml file. | |
| # See https://github.community/t/trigger-a-workflow-on-change-to-the-yml-file-itself/17792/4) | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "release-[0-9]+.[0-9]" | |
| tags: '**' | |
| paths: | |
| - '.github/workflows/vtadmin_web_build.yml' | |
| - 'web/vtadmin/**' | |
| pull_request: | |
| branches: '**' | |
| paths: | |
| - '.github/workflows/vtadmin_web_build.yml' | |
| - 'web/vtadmin/**' | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Skip CI | |
| run: | | |
| if [[ "${{contains( github.event.pull_request.labels.*.name, 'Skip CI')}}" == "true" ]]; then | |
| echo "skipping CI due to the 'Skip CI' label" | |
| exit 1 | |
| fi | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: 'false' | |
| - name: Tune the OS | |
| uses: ./.github/actions/tune-os | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| # node-version should match package.json | |
| node-version: '22.13.1' | |
| - name: Install dependencies | |
| run: cd ./web/vtadmin && npm ci | |
| - name: Build front-end | |
| run: cd ./web/vtadmin && npm run build | |
| # Cancel pending and in-progress runs of this workflow if a newer ref is pushed to CI. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true |