Skip to content

feat(engine): Float32 pipeline alongside u8, full RAW path on float #125

feat(engine): Float32 pipeline alongside u8, full RAW path on float

feat(engine): Float32 pipeline alongside u8, full RAW path on float #125

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
verify:
name: verify / node ${{ matrix.node }} / ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest]
node: ['22', '24']
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Restore dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run check
- name: Test
run: npm run test:run
- name: Build library
run: npm run build
- name: Upload build artifacts
if: matrix.platform == 'ubuntu-latest' && matrix.node == '22'
uses: actions/upload-artifact@v7
with:
name: dist-${{ github.sha }}
path: ./dist
retention-days: 7
coverage:
name: coverage
runs-on: ubuntu-latest
needs: verify
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
cache: npm
- name: Restore dependencies
run: npm ci
- name: Run coverage
run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
if: env.CODECOV_TOKEN != ''
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}