build(deps): bump the minor-and-patch-cargo-updates group across 1 directory with 2 updates #181
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: Web Client Preview | |
| on: | |
| pull_request: | |
| paths: | |
| - 'web-client/**' | |
| - 'primitives/**' | |
| - 'lib/**' | |
| workflow_dispatch: | |
| jobs: | |
| preview: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build package | |
| working-directory: ./web-client | |
| run: ./scripts/build.sh | |
| - uses: actions/setup-node@v6 | |
| - name: Publish preview | |
| run: npx pkg-pr-new publish './web-client/dist' --comment=update |