Skip to content

Commit

Permalink
two builds
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 24, 2023
1 parent 99bd41d commit d52fc99
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
test:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,16 @@ jobs:
# wasm
- run: cargo install wasm-pack
- run: wasm-pack build --target web
js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: curl -sSf https://sh.rustup.rs | sh -s -- -y
- run: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

# wasm
- run: cargo install wasm-pack
- run: wasm-pack build --target web

# js
- run: npm ci
- run: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

0 comments on commit d52fc99

Please sign in to comment.