Skip to content

Commit 1fd838f

Browse files
committed
update ci
1 parent e0dee91 commit 1fd838f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/go.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ jobs:
2828
- name: Install wasmbrowsertest
2929
run: |
3030
go install github.com/agnivade/wasmbrowsertest@latest
31-
# Rename for automatic discovery as per your guide
3231
mv "$(go env GOPATH)/bin/wasmbrowsertest" "$(go env GOPATH)/bin/go_js_wasm_exec"
3332
33+
- name: Install Chrome
34+
uses: browser-actions/setup-chrome@latest
35+
3436
- name: Run WASM Tests
35-
# ensure Chrome/Chromium is available (included in ubuntu-latest)
3637
run: GOOS=js GOARCH=wasm go test -v ./...
38+
env:
39+
WASMBROWSERTEST_ARGS: "--no-sandbox --disable-dev-shm-usage"
3740

3841
build-and-release:
3942
needs: tests # only release if security AND all tests pass

0 commit comments

Comments
 (0)