build(deps): bump wasm-bindgen from 0.2.93 to 0.2.95 in the patch-ver… #78
This file contains 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: Test | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: "${{ github.ref != 'refs/heads/main' }}" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
CACHE_TIMEOUT_MINUTES: 5 | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: sccache | |
CC: sccache clang | |
CXX: sccache clang++ | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
timeout-minutes: "${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}" | |
continue-on-error: true | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- run: cargo fmt --check | |
- run: cargo clippy --all-targets -- --deny warnings | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- uses: sigoden/install-binary@v1 | |
with: | |
repo: WebAssembly/binaryen | |
name: wasm-opt | |
- name: Install worker-build | |
run: cargo install --locked worker-build | |
- uses: nanasess/setup-chromedriver@v2 | |
- run: | | |
chromedriver --port=9515 & | |
- name: Run website | |
run: | | |
npx wrangler@latest build | |
npx wrangler@latest dev & | |
echo "waiting" | |
timeout 120 sh -c 'until nc -z $0 $1; do sleep 1; done' 127.0.0.1 8787 | |
- name: E2E | |
run: | | |
cd e2e | |
cargo build | |
cargo run |