Skip to content

Move LL-viz onto tensor-viz npm packages #9

Move LL-viz onto tensor-viz npm packages

Move LL-viz onto tensor-viz npm packages #9

Workflow file for this run

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