Skip to content

Commit

Permalink
chore: updated surrealdb.wasm build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Jul 14, 2024
1 parent 7bb4016 commit 3cb80ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wasm-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: "Install Node & NPM"
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

- name: "Install wasm-pack"
Expand All @@ -29,7 +29,7 @@ jobs:
run: cd surrealdb.wasm;npm install

- name: "Build"
run: cd surrealdb.wasm;wasm-pack build --release --target web --out-name index --out-dir ../assets/wasm/surrealdb --no-default-features --features protocol-ws,protocol-http,kv-indxdb,kv-mem,rustls
run: cd surrealdb.wasm;wasm-pack build --release --target web --out-name index --out-dir ../assets/wasm/surrealdb --no-default-features --features kv-indxdb,kv-mem

- name: "Install NPM dependencies"
run: npm install
Expand Down

0 comments on commit 3cb80ca

Please sign in to comment.