Skip to content

Commit

Permalink
Test Node on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 25, 2024
1 parent d64812a commit b164a2c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
with:
targets: wasm32-unknown-unknown

- name: Install Node 23
uses: actions/setup-node@v4
with:
node-version: 23

- name: Run cargo check
run: cargo check --target=wasm32-unknown-unknown

Expand All @@ -22,6 +27,9 @@ jobs:
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Test on Node
run: wasm-pack test --node

- name: Test on Chrome
run: wasm-pack test --headless --chrome

Expand Down

0 comments on commit b164a2c

Please sign in to comment.