bash base commands #35
ci.yml
on: pull_request
Bash Core Tests
10s
Bash WASM Tests
1m 29s
Annotations
11 errors and 2 warnings
|
Bash Core Tests
Process completed with exit code 1.
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – RESOLVE_PATH > resolves a directory path:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L118
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:118:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – RESOLVE_PATH > Should return an error because the directory path does not exist:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L109
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:109:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – RESOLVE_PATH > resolves a directory path:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L100
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:100:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – invalid action > throws on unknown action:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L90
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:90:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – EXECUTE_FILE > runs a JS file and returns its result:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L77
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:77:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – EXECUTE_CODE > propagates thrown errors as failure:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L66
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:66:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – EXECUTE_CODE > evaluates multi-line code with a return value:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L57
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:57:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – EXECUTE_CODE > captures console.log output:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L43
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:43:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – EXECUTE_CODE > evaluates a simple expression:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L34
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:34:33
|
|
.capsule/__test__/sandbox.test.js > sandbox.ts – LOAD > returns a success confirmation:
packages/bash-wasm/.capsule/__test__/sandbox.test.js#L23
Error: File not found: /home/runner/work/bash/bash/packages/bash-wasm/.capsule/sandbox.ts.
❯ run ../../node_modules/.pnpm/@capsule-run+sdk@0.8.7_@types+node@25.6.0/node_modules/@capsule-run/sdk/src/run.ts:78:26
❯ .capsule/__test__/sandbox.test.js:23:33
|
|
Bash Core Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Bash WASM Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/setup-python@v5, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|