Skip to content

feat: migrate from kuromoji.js to lindera-wasm #1643

feat: migrate from kuromoji.js to lindera-wasm

feat: migrate from kuromoji.js to lindera-wasm #1643

Workflow file for this run

name: Lint & TypeCheck & Test
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '.vscode/**'
- '.github/**'
- 'LICENSE'
- 'renovate.json'
- "CHANGELOG.md"
- '**/README.md'
- .gitignore
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
node-version-file: '.node-version'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run lint
- name: TypeCheck
run: pnpm run typecheck
- name: Unit Test
run: pnpm run test:unit
- name: Build the extension
run: pnpm --filter extension run build
- name: Install Playwright Browsers
run: pnpm --filter extension exec playwright install --with-deps chromium
- name: Run Playwright tests
run: pnpm run test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30