build(deps-dev): bump tmp from 0.2.5 to 0.2.7 in /web/vtadmin #5959
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: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: 'false' | |
| - name: Tune the OS | |
| timeout-minutes: 5 | |
| uses: ./.github/actions/tune-os | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| # node-version should match package.json | |
| node-version: '22.13.1' | |
| - name: Install dependencies | |
| timeout-minutes: 5 | |
| 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 |