diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index 1440ac7..fe31465 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - uses: actions/setup-node@v2 with: node-version: '18' diff --git a/README.md b/README.md index 8f763d5..b371fc6 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ console.log(nodejieba.textRankExtract("升职加薪,当上CEO,走上人生 + `node v14` + `node v15` -## Development +## Development(Using NodeJieba Library in your own project) create repo: @@ -159,6 +159,14 @@ console.log(nodejieba.cut("你好世界")) node test.js ``` +## Develop NodeJieba + +```sh +git clone --recurse-submodules https://github.com/yanyiwu/nodejieba.git +cd nodejieba +npm install +npm test +``` ## 应用