fix CI
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
node-version: 18
|
node-version: 18
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
|
apt update
|
||||||
|
apt-get install -y zip
|
||||||
pack install contrib
|
pack install contrib
|
||||||
make
|
make
|
||||||
cd playground
|
cd playground
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const handleMessage = async function (ev: {data: CompileReq}) {
|
|||||||
shim.stdout += "\n" + String(e);
|
shim.stdout += "\n" + String(e);
|
||||||
}
|
}
|
||||||
let duration = +new Date() - start;
|
let duration = +new Date() - start;
|
||||||
console.log(`shim.process ${fn} in ${duration} ms`);
|
console.log(`process ${fn} in ${duration} ms`);
|
||||||
let javascript = new TextDecoder().decode(shim.files[outfile]);
|
let javascript = new TextDecoder().decode(shim.files[outfile]);
|
||||||
let output = shim.stdout;
|
let output = shim.stdout;
|
||||||
sendResponse({ javascript, output, duration });
|
sendResponse({ javascript, output, duration });
|
||||||
|
|||||||
Reference in New Issue
Block a user