Skip to content

chore: add support for sweepers #3407

chore: add support for sweepers

chore: add support for sweepers #3407

Workflow file for this run

name: WebAssembly
on:
pull_request:
merge_group:
jobs:
build-and-test:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
# Checkout should always be before setup-go to ensure caching is working
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 6.0.2
- name: Build
run: ./scripts/build-wasm.sh
- name: Run npm package tests
run: ./scripts/run-tests-wasm.sh
- name: Run custom tester
run: ./scripts/run-tests-wasm.sh
env:
TESTER: true
- name: Run prettier
working-directory: wasm
run: pnpm lint