Skip to content

Commit

Permalink
ci: add bun to test matrix, measure coverage, enable CC reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 17, 2023
1 parent eb03419 commit 7a1e5fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Requirements
* Node.js >= 16.0.0
* Bun >= 1.0.12

## Install
```shell
Expand Down
5 changes: 4 additions & 1 deletion src/main/js/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ export const $ = new DeepProxy(_$, ({name, DEFAULT, target: t, trapName, args})
return DEFAULT
}
const env = t.env
t.env = {...t.env, PATH: npmRunPath({cwd: t.cwd})}
try {
console.log('PATH0=', t.env.PATH)
const PATH = npmRunPath({cwd: t.cwd})
console.log('PATH1=', PATH)
t.env = {...t.env, PATH}
return t(...args)
} finally {
t.env = env
Expand Down

0 comments on commit 7a1e5fb

Please sign in to comment.