ci: change wasm build to cd into folder
This commit is contained in:
parent
1077c4d510
commit
2f3a116f8d
|
@ -30,7 +30,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "presetter bootstrap",
|
"prepare": "presetter bootstrap",
|
||||||
"build": "presetter run build",
|
"build": "presetter run build",
|
||||||
"build:wasm": "mkdir ./lib/wasm && tinygo build -o ./lib/wasm/bao.wasm -target wasm ./src/golang/main.go",
|
"build:wasm": "mkdir ./lib/wasm && cd src/golang; tinygo build -o ../lib/wasm/bao.wasm -target wasm ./main.go",
|
||||||
"semantic-release": "semantic-release"
|
"semantic-release": "semantic-release"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue