build(deps-dev): bump tmp from 0.2.5 to 0.2.7 in /web/vtadmin #5558
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 unit tests | |
| # 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_unit_tests.yml' | |
| - 'web/vtadmin/**' | |
| pull_request: | |
| branches: '**' | |
| paths: | |
| - '.github/workflows/vtadmin_web_unit_tests.yml' | |
| - 'web/vtadmin/**' | |
| permissions: read-all | |
| jobs: | |
| unit-tests: | |
| 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@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: Run unit tests | |
| run: cd ./web/vtadmin && CI=true npm run test | |
| # 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 |