File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 77 branches : [ main ]
88 workflow_dispatch :
99
10+ env :
11+ RUST_VERSION : 1.84
12+
1013jobs :
1114 lint_and_test :
1215 runs-on : ubuntu-latest
1316
1417 steps :
1518 - uses : actions/checkout@v3
1619
17- - name : Use Node.js 20
20+ - name : Install Rust toolchain
21+ shell : bash
22+ run : |
23+ rustup toolchain install ${{ env.RUST_VERSION }} --no-self-update
24+ rustup default ${{ env.RUST_VERSION }}
25+
26+ - name : " Install Wasm Rust target"
27+ run : rustup target add wasm32-wasip1 wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
28+
29+ - name : Use Node.js 22
1830 uses : actions/setup-node@v3
1931 with :
20- node-version : 20
32+ node-version : 22
2133
2234 - name : Install depencies
2335 shell : bash
24- run : npm install
36+ run : npm install --ws
2537
2638 - name : Run prettier check
2739 shell : bash
You can’t perform that action at this time.
0 commit comments