Skip to content

Commit 1056bc1

Browse files
feat(ci): add fs-write-file example to CI
1 parent 304bf66 commit 1056bc1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,8 @@ jobs:
531531
workspace: examples/components/typegen-async-export
532532
- name: node-compat
533533
workspace: examples/components/node-compat
534+
- name: fs-write-file
535+
workspace: examples/components/fs-write-file
534536
steps:
535537
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
536538
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0

examples/components/fs-write-file/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"description": "Codebase showcasing a simple use of wasi:filesystem (p2)",
44
"type": "module",
55
"scripts": {
6-
"build": "jco componentize component.js --wit wit --world-name component --out dist/component.wasm",
7-
"transpile": "jco transpile dist/component.wasm --instantiation=async -o dist/transpiled",
6+
"build": "jco componentize component.js --wit wit --world-name component --out component.wasm",
7+
"transpile": "jco transpile component.wasm --instantiation=async -o dist/transpiled",
88
"transpiled-js": "node run-transpiled.js",
99
"all": "npm run build; npm run transpile; npm run transpiled-js"
1010
},

0 commit comments

Comments
 (0)