diff --git a/.github/workflows/build-wasm-js.yaml b/.github/workflows/build-wasm-js.yaml index bbef794..6224b96 100644 --- a/.github/workflows/build-wasm-js.yaml +++ b/.github/workflows/build-wasm-js.yaml @@ -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" @@ -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