Skip to content

Commit

Permalink
ci(wasm): add npm install/audit runs, run wasm-setup-install wrapper …
Browse files Browse the repository at this point in the history
…script
  • Loading branch information
vpayno committed Nov 3, 2023
1 parent b00856d commit d75222f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,23 @@ jobs:
id: config-wasm-tools
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" ../../.github/citools/wasm/wasm-setup-config
- name: Install WebAssembly Tools [${{ matrix.exercise }}]
id: wasm-install
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" ../../.github/citools/wasm/wasm-setup-install
- name: Show WebAssembly version [${{ matrix.exercise }}]
id: wasm-version
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" ../../.github/citools/wasm/wasm-setup-verify
- name: Testing with cargo test coverage [${{ matrix.exercise }}]
id: cargo-test-coverage
- name: Run npm install [${{ matrix.exercise }}]
id: npm-install
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" npm install
- name: Run npm audit [${{ matrix.exercise }}]
id: npm-audit
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" npm audit
- name: Testing with npm test coverage [${{ matrix.exercise }}]
id: npm-test-coverage
run: |-
./.github/citools/common/run_wrapper_script "./${{ matrix.exercise }}" ../../.github/citools/wasm/wasm-test-with-coverage

0 comments on commit d75222f

Please sign in to comment.