perf(pm): add mock manifest provider #4042
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: utooweb-ci | |
| on: | |
| push: | |
| branches: ["next"] | |
| pull_request: | |
| types: [opened, synchronize, reopened, edited] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: utooweb-ci-build-wasm | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Init git submodules | |
| run: git submodule update --init --recursive --depth 1 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: nightly-2026-04-02 | |
| targets: wasm32-unknown-unknown | |
| components: rust-src | |
| # - name: Cache cargo | |
| # uses: Swatinem/rust-cache@v2 | |
| # with: | |
| # shared-key: utooweb-ci | |
| - name: Setup Utoo | |
| uses: utooland/setup-utoo@v1 | |
| - name: Install dependencies | |
| run: | | |
| utoo install | |
| npm install binaryen@123.0.0 --global | |
| - name: Install wasm-bindgen-cli | |
| uses: jetli/wasm-bindgen-action@v0.2.0 | |
| with: | |
| version: '0.2.108' | |
| - name: Build WASM | |
| run: | | |
| npm run build --workspace=@utoo/pack-shared | |
| npm run build:local --workspace=@utoo/web | |
| ls packages/utoo-web/esm/utoo | |
| success: | |
| name: utooweb-ci-success | |
| runs-on: ubuntu-latest | |
| if: always() | |
| needs: | |
| - build | |
| steps: | |
| - name: Check success | |
| run: | | |
| if [ "${{ needs.build.result }}" == "failure" ] || [ "${{ needs.build.result }}" == "cancelled" ]; then | |
| echo "Tests failed or were cancelled" | |
| exit 1 | |
| else | |
| echo "Tests passed or were skipped" | |
| fi |