sejong 0.1.5

Sejong Buffer is a buffer that can receive ASCII bytes different from keyboard and send out UTF-32 Hangul string. This buffer allows deletion by Jamo.
Documentation
name: Update WASM

on:
  push:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build_wasm:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        path: main
    - uses: actions/checkout@v2
      with:
        repository: funfoolsuzi/sejong-wasm
        path: wasm 
    - uses: jetli/wasm-pack-action@v0.3.0
    - name: Unit tests
      run: |
        cargo test --verbose
      working-directory: main
    - name: Build WASM
      run: |
        wasm-pack build --release --out-dir $GITHUB_WORKSPACE/wasm -- --features wasm
      working-directory: main
    - name: Tidy generated files
      run: |
        rm .gitignore
        python $GITHUB_WORKSPACE/main/.github/scripts/update_package_json.py package.json
      working-directory: wasm
    - uses: peter-evans/create-pull-request@v3
      with:
        token: ${{ secrets.SEJONG_WASM }}
        path: wasm