Skip to content

Commit

Permalink
update version in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
leyhline committed Jun 28, 2023
1 parent 983e4ef commit 2d30d6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.2.2/ipadic-2.7.0_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.2.2/jumandic-7.0_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.2.2/unidic-mecab-2.1.2_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.3.0/ipadic-2.7.0_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.3.0/jumandic-7.0_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.3.0/unidic-mecab-2.1.2_bin.zip
- run: npm ci
- run: npx playwright install --with-deps chromium firefox
- run: npm test
Expand All @@ -66,7 +66,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.2.2/ipadic-2.7.0_bin.zip
- run: wget -nv https://github.com/leyhline/mecab-web-worker/releases/download/v0.3.0/ipadic-2.7.0_bin.zip
- run: npm ci
- run: npm run build
- uses: actions/configure-pages@v3
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/mecab-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function mountDicionaryFiles(Module: Module, files: File[]): void {
async function loadDictionaryFiles(
url: string,
noCache = false,
cacheName = "v0.2.2"
cacheName = "v0.3.0"
): Promise<File[]> {
if (noCache || !(await caches.has(cacheName))) {
return loadDictionaryFilesFromNetwork(cacheName, url, noCache);
Expand Down

0 comments on commit 2d30d6d

Please sign in to comment.