Skip to content

Commit

Permalink
v2.0 web (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 authored and laves committed Nov 25, 2023
1 parent 7f3c94f commit c5660b0
Show file tree
Hide file tree
Showing 13 changed files with 1,449 additions and 1,010 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/web-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -35,6 +35,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# ************** REMOVE AFTER RELEASE ********************
- name: Build Web SDK
run: yarn && yarn copywasm && yarn build
working-directory: binding/web
# ********************************************************

- name: Pre-build dependencies
run: npm install yarn

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion binding/web/cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"types": ["cypress"]
"types": ["cypress", "node"]
},
"include": [
"../test/**/*.ts",
Expand Down
4 changes: 2 additions & 2 deletions binding/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Cheetah Speech-to-Text engine for web browsers (via WebAssembly)",
"author": "Picovoice Inc",
"license": "Apache-2.0",
"version": "1.1.15",
"version": "2.0.0",
"keywords": [
"cheetah",
"web",
Expand Down Expand Up @@ -64,6 +64,6 @@
"wasm-feature-detect": "^1.5.0"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
}
Loading

0 comments on commit c5660b0

Please sign in to comment.