Move LL-viz onto tensor-viz npm packages #9
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - linear-layout-website | |
| jobs: | |
| linear-layout-viz: | |
| runs-on: ubuntu-latest | |
| env: | |
| TENSOR_VIZ_REF: ll-viz-extraction | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: Deep-Learning-Profiling-Tools/tensor-viz | |
| ref: ${{ env.TENSOR_VIZ_REF }} | |
| path: .tensor-viz-source | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: npm install | |
| working-directory: .tensor-viz-source | |
| - run: | | |
| mkdir -p .tensor-viz-packs | |
| npm pack --workspace @tensor-viz/viewer-core --pack-destination ../.tensor-viz-packs | |
| npm pack --workspace @tensor-viz/viewer-demo --pack-destination ../.tensor-viz-packs | |
| working-directory: .tensor-viz-source | |
| - run: npm install --no-save .tensor-viz-packs/tensor-viz-viewer-core-0.1.0.tgz .tensor-viz-packs/tensor-viz-viewer-demo-0.1.0.tgz | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run typecheck | |
| - run: npm run test | |
| - run: npm run build |