Skip to content

Commit 5521941

Browse files
committed
fix ci
Signed-off-by: karthik2804 <[email protected]>
1 parent 514ce0d commit 5521941

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
steps:
6060
- uses: actions/checkout@v3
6161

62-
- name: Use Node.js 20
62+
- name: Use Node.js 22
6363
uses: actions/setup-node@v3
6464
with:
65-
node-version: 20
65+
node-version: 22
6666

6767
- name: Setup `spin`
6868
uses: fermyon/actions/spin/setup@v1

packages/build-tools/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ all: build
99
build:
1010
cargo build --release --target $(CARGO_BUILD_TARGET)
1111
mkdir -p $(OUTPUT_DIR)
12-
jco new $(WASM_FILE) -o $(OUTPUT_WASM) --wasi-reactor
13-
jco transpile -q --name wit_tools $(OUTPUT_WASM) -o $(LIB_DIR) -- -O1
12+
npx @bytecodealliance/jco new $(WASM_FILE) -o $(OUTPUT_WASM) --wasi-reactor
13+
npx @bytecodealliance/jco transpile -q --name wit_tools $(OUTPUT_WASM) -o $(LIB_DIR) -- -O1
1414

1515
clean:
1616
cargo clean

packages/build-tools/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build-tools/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@bytecodealliance/componentize-js": "^0.17.0",
32+
"@bytecodealliance/jco": "^1.10.2",
3233
"@types/yargs": "^17.0.33",
3334
"yargs": "^17.7.2"
3435
},
@@ -46,4 +47,4 @@
4647
}
4748
]
4849
}
49-
}
50+
}

test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ isFailed=false
1515
# Build test app
1616
echo "Building the test app"
1717
cd test-app
18-
npm install > /dev/null
19-
spin build > /dev/null
18+
npm install
19+
spin build
2020
echo "built the test app successfully"
2121

2222

0 commit comments

Comments
 (0)