diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml index cd1b2c7..a8bcc7c 100644 --- a/.github/workflows/web-tests.yml +++ b/.github/workflows/web-tests.yml @@ -1,24 +1,24 @@ -# name: Web Tests +name: Web Tests -# on: -# pull_request: -# push: -# branches: main +on: + pull_request: + push: + branches: main -# jobs: -# wasm-pack-test: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout -# uses: actions/checkout@v3 +jobs: + build-for-web: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 -# - name: install wasm-pack -# uses: jetli/wasm-pack-action@v0.4.0 -# with: -# version: latest + - name: install wasm-pack + uses: jetli/wasm-pack-action@v0.4.0 + with: + version: latest -# - name: Install Just -# uses: extractions/setup-just@v2 + - name: Install Just + uses: extractions/setup-just@v2 -# - name: Run tests -# run: just test-web + - name: Build + run: just build diff --git a/justfile b/justfile index 08a0fd3..983d920 100644 --- a/justfile +++ b/justfile @@ -2,7 +2,7 @@ default: just --list build: - wasm-pack build -t web --release --out-dir ./packages/webz-core -Z --no-default-features --features="wasm-parallel,no-bundler" build-std="panic_abort,std" + wasm-pack build -t web --release --out-dir ./packages/webz-core --no-default-features --features="wasm-parallel,no-bundler" -Z build-std="panic_abort,std" # All Wasm Tests test-web *features: