chore(pkg-py): refactor shared viz assets and footer integration #2
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: Check - Shared Viz Assets | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main", "rc-*"] | |
| paths: | |
| - "js/**" | |
| - "pkg-py/src/querychat/static/css/viz.css" | |
| - "pkg-py/src/querychat/static/js/viz.js" | |
| - "Makefile" | |
| - ".github/workflows/js-check.yml" | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths: | |
| - "js/**" | |
| - "pkg-py/src/querychat/static/css/viz.css" | |
| - "pkg-py/src/querychat/static/js/viz.js" | |
| - "Makefile" | |
| - ".github/workflows/js-check.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| js-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: js/package-lock.json | |
| - name: Install shared asset dependencies | |
| run: make js-setup | |
| - name: Check shared assets | |
| run: make js-check |