feat: migrate from kuromoji.js to lindera-wasm #1643
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |