Skip to content

Commit

Permalink
Add actions step to install wasm-pack
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Feb 24, 2024
1 parent 040148c commit de1728e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
cache: true
cache-workspaces: true
components: clippy, rustfmt
components: clippy, rustfmt, wasm-pack
toolchain: nightly
- name: 'Install dependencies: Node'
run: yarn
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Setup

1. [Install Rust (recommended through rustup)](https://rustup.rs/)
1. [Install wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)
1. [Install Node (recommended through NVM)](https://github.com/nvm-sh/nvm)
1. Install Yarn -> `npm i yarn -g`
1. Clone this repo -> `git clone [email protected]:HHogg/hogg.io.git`
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lint:rust": "yarn lint:rust:clippy && yarn lint:rust:fmt",
"lint:rust:clippy": "cargo clippy --all-targets --all-features -- -D warnings",
"lint:rust:fmt": "cargo fmt --all -- --check",
"test": "yarn test:rust",
"test:rust": "cargo watch -x \"test -- --test-threads=1\"",
"test:rust:clean": "cargo insta test --unreferenced=delete",
"test:rust:review": "cargo insta review --include-ignored",
Expand Down

0 comments on commit de1728e

Please sign in to comment.