test(plugins): create the empty running path so the package.json guard is reached #3168
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: Node Build | |
| on: | |
| pull_request: | |
| jobs: | |
| lint: | |
| uses: homebridge/.github/.github/workflows/eslint.yml@latest | |
| # The UI unit tests run in jsdom, so a single platform is enough | |
| ui_test: | |
| name: Test UI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: ui/package-lock.json | |
| - name: Install UI dependencies | |
| run: npm ci | |
| working-directory: ui | |
| - name: Run UI tests | |
| run: npm run test | |
| working-directory: ui |