Skip to content

Commit 49b8b4f

Browse files
committed
Use latest Node.js
1 parent 4614a1c commit 49b8b4f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/actions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646

4747
- uses: swatinem/rust-cache@v2
4848

49+
- uses: actions/setup-node@v4
50+
with:
51+
node-version: 'latest'
52+
4953
- name: Clippy, rustfmt
5054
if: ${{ matrix.platform == 'ubuntu-24.04' }}
5155
run: |

telegram-bot/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as fend from 'fend-wasm-nodejs';
22

33
const two = fend.evaluateFendWithTimeout('1+1', 500);
4-
if (two !== '20') {
4+
if (two !== '2') {
55
throw new Error(`could not execute webassembly: got '${two}' instead of '2'`);
66
}
77

0 commit comments

Comments
 (0)