File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed
Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1010 CI : " 1"
1111
1212jobs :
13+ npm-test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Setup node
19+ uses : actions/setup-node@v2
20+ with :
21+ node-version : 20
22+
23+ - run : |
24+ echo "Before: corepack version => $(corepack --version || echo 'not installed')"
25+ npm install -g corepack@latest
26+ echo "After : corepack version => $(corepack --version)"
27+ corepack enable
28+ pnpm --version
29+ pnpm i
30+
31+ - name : Install Rust
32+ uses : actions-rs/toolchain@v1
33+ with :
34+ profile : minimal
35+
36+ - name : Install wasm target
37+ shell : bash
38+ run : |
39+ rustup target add wasm32-wasip1
40+
41+ - name : Test
42+ run : |
43+ pnpm test
44+
1345 cargo-test :
1446 strategy :
1547 fail-fast : false
Original file line number Diff line number Diff line change 1515 name : Build
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
19- with :
20- submodules : true
18+ - uses : actions/checkout@v4
2119
2220 - name : Setup node
2321 uses : actions/setup-node@v2
You can’t perform that action at this time.
0 commit comments