Skip to content

Migrate to Vite

Migrate to Vite #133

Workflow file for this run

name: Test CI test
on:
pull_request:
paths:
- src/**
- public/**
- package*.json
- .github/workflows/ci_test.yml
types: [opened, reopened, synchronize, ready_for_review]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Check JSON syntax errors in translations via jq
run: jq . public/locales/*/translation.json > /dev/null
- name: Setup Node JS
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run TypeScript typecheck
run: npm run typecheck
- name: Run linter
run: npm run lint
- name: Build
run: npm run build