Skip to content

Commit 73cb607

Browse files
author
Damien LACHAUME / PALO-IT
committed
Adapt CI and update mithril-client-wasm Makefile
1 parent 1ad8188 commit 73cb607

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/actions/publish-npm-package/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ runs:
5050
echo "Build '@${{ inputs.scope }}/${{ inputs.package }}' package"
5151
cp ./LICENSE ./mithril-client-wasm/
5252
cp -f ./mithril-client-wasm/npm/README.md ./mithril-client-wasm/
53-
wasm-pack build ${{ inputs.package }} --release --target bundler --out-dir ./pkg --scope ${{ inputs.scope }} --out-name index
53+
wasm-pack build ${{ inputs.package }} --release --target web --out-dir ./pkg --scope ${{ inputs.scope }} --out-name index
5454
5555
- name: List package
5656
shell: bash

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
shell: bash
128128
run: |
129129
cp LICENSE ./mithril-client-wasm/
130-
wasm-pack build mithril-client-wasm --release --target bundler --out-dir ./pkg --scope mithril-dev --out-name index
130+
wasm-pack build mithril-client-wasm --release --target web --out-dir ./pkg --scope mithril-dev --out-name index
131131
132132
- name: Prepare 'mithril-client-wasm' package
133133
shell: bash

mithril-client/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,3 @@ clean:
2626

2727
doc:
2828
${CARGO} doc --no-deps --open --features full
29-
30-
build-wasm:
31-
wasm-pack build --release

0 commit comments

Comments
 (0)