app/vmui: auto-sync time picker with _time filters in query #149
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: vmui | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'app/vmui/packages/vmui/**' | |
| - '.github/workflows/vmui.yml' | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - 'app/vmui/packages/vmui/**' | |
| - '.github/workflows/vmui.yml' | |
| permissions: | |
| contents: read | |
| packages: read | |
| pull-requests: read | |
| checks: write | |
| concurrency: | |
| cancel-in-progress: true | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| jobs: | |
| vmui-checks: | |
| name: VMUI Checks (lint, test, typecheck) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Code checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.x' | |
| - name: Cache node-modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| app/vmui/packages/vmui/node_modules | |
| key: vmui-artifacts-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: vmui-artifacts-${{ runner.os }}- | |
| - name: Run lint | |
| id: lint | |
| run: make vmui-lint | |
| continue-on-error: true | |
| - name: Run tests | |
| id: test | |
| run: make vmui-test | |
| continue-on-error: true | |
| - name: Run typecheck | |
| id: typecheck | |
| run: make vmui-typecheck | |
| continue-on-error: true | |
| - name: Annotate Code Linting Results | |
| uses: ataylorme/eslint-annotate-action@v3 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| report-json: app/vmui/packages/vmui/vmui-lint-report.json | |
| - name: Check overall status | |
| run: | | |
| echo "Lint status: ${{ steps.lint.outcome }}" | |
| echo "Test status: ${{ steps.test.outcome }}" | |
| echo "Typecheck status: ${{ steps.typecheck.outcome }}" | |
| if [[ "${{ steps.lint.outcome }}" == "failure" || "${{ steps.test.outcome }}" == "failure" || "${{ steps.typecheck.outcome }}" == "failure" ]]; then | |
| echo "One or more checks failed" | |
| exit 1 | |
| else | |
| echo "All checks passed" | |
| fi |