Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #98 from Stremio/fix/bubble-up-serde-errors
Browse files Browse the repository at this point in the history
feat: always bubble up errors in WebEnv::fetch
  • Loading branch information
elpiel authored May 9, 2024
2 parents 638daa4 + be3b1e9 commit 1d5c9ef
Show file tree
Hide file tree
Showing 4 changed files with 350 additions and 278 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,41 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
targets: wasm32-unknown-unknown

- uses: Swatinem/rust-cache@v2

- name: Lint - rustfmt
run: cargo fmt --all -- --check

- name: Lint - clippy
run: cargo clippy --all --no-deps -- -D warnings

- uses: taiki-e/install-action@v2
with:
tool: wasm-pack@${{ env.WASM_PACK_VERSION }}
- name: Setup chromedriver
uses: nanasess/setup-chromedriver@v2

- name: Run wasm tests (Chrome)
run: wasm-pack test --chromedriver "$(which chromedriver)" --chrome --headless

- name: Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
registry-url: https://registry.npmjs.org/

- uses: taiki-e/install-action@v2
with:
tool: wasm-pack@${{ env.WASM_PACK_VERSION }}
- name: Install NPM dependencies
run: npm ci

- name: Build
run: npm run build

Loading

0 comments on commit 1d5c9ef

Please sign in to comment.