Skip to content

update swift-side to use new unified dictionary format #67

update swift-side to use new unified dictionary format

update swift-side to use new unified dictionary format #67

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: macos-latest
timeout-minutes: 45
name: "Lint, Test, Build web extension"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: "next-9"
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install cargo
run: |
rustup toolchain install stable --no-self-update
rustup target add aarch64-apple-ios
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
- name: Install wasm-pack
run: pnpm add -g wasm-pack
- name: Cache unidic
uses: actions/cache@v4
with:
path: unidic/original
key: unidic-2.1.2
- name: Construct
run: pnpm run construct:all
- name: Install pnpm deps
run: pnpm install
- name: Generate licenses
run: pnpm generate-licenses
- name: Lint
run: pnpm run lint
- name: Test
run: pnpm run test
- name: Build web
run: pnpm run build:chrome && pnpm run build:firefox && pnpm run build:ios