.github/workflows: update module that we try to build in cross-wasm

We now have the actual module that we need to build, so switch to
building it directly instead of its (expected) dependencies.

Also fix a copy/paste error in a jsdeps comment.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
pull/5105/head
Mihai Parparita 2 years ago committed by Mihai Parparita
parent b7f1fe7b0d
commit de2dcda2e0

@ -25,11 +25,11 @@ jobs:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Wasm build CLI and client modules - name: Wasm client build
env: env:
GOOS: js GOOS: js
GOARCH: wasm GOARCH: wasm
run: go build ./cmd/tailscale/cli ./ipn/... ./net/... ./safesocket ./types/... ./wgengine/... run: go build ./cmd/tsconnect/wasm
- uses: k0kubun/action-slack@v2.0.0 - uses: k0kubun/action-slack@v2.0.0
with: with:

@ -4,8 +4,8 @@
// Package jsdeps is a just a list of the packages we import in the // Package jsdeps is a just a list of the packages we import in the
// JavaScript/WASM build, to let us test that our transitive closure of // JavaScript/WASM build, to let us test that our transitive closure of
// dependencies on iOS doesn't accidentally grow too large, since binary size // dependencies doesn't accidentally grow too large, since binary size
// is more of a concern there. // is more of a concern.
package jsdeps package jsdeps
import ( import (

Loading…
Cancel
Save