Skip to content

fix: prioritize current frame for single-LOD case (typical volume rendering case) #1780

fix: prioritize current frame for single-LOD case (typical volume rendering case)

fix: prioritize current frame for single-LOD case (typical volume rendering case) #1780

name: Lint, Test, and Build
on:
push:
branches:
- main
pull_request:
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: |
npm ci
npx playwright install chromium
- name: Compile TypeScript
run: |
npm run compile
npm run build
- name: Lint
run: |
npm run lint
npm run format-check
- name: Run tests with coverage
run: |
npm run test-with-coverage
build:
needs: lint-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build