Skip to content

fix(preview): derive filetype from a constant, not the mutated converter #1960

fix(preview): derive filetype from a constant, not the mutated converter

fix(preview): derive filetype from a constant, not the mutated converter #1960

Workflow file for this run

name: Compile, lint and test
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: 'package.json'
- run: npm ci --foreground-scripts
- run: npm run lint
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm run format && git diff --exit-code
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm run build-web
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: xvfb-run -a npm t
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm t
if: ${{ matrix.os == 'windows-latest' }}