Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:

- name: Build Wasm & Web 🔧
run: |
cp $(go env GOROOT)/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js

npm ci
npm run init
npm run build-wasm
npm run build-only
cp dist/index.html dist/404.html
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:

- name: Build Wasm & Web 🔧
run: |
GOROOT=$(go env GOROOT)
cp $GOROOT/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js

npm ci
npm run init
npm run build-wasm
npm run build-only
cp dist/index.html dist/404.html
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"init": "cp $(go env GOROOT)/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js",
"init": "cp $(go env GOROOT)/lib/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js",
"build-wasm": "cd src/wasm/activity-service && make build",
"build-only": "vite build",
"dev": "vite --host",
Expand Down
Loading