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 79bc0f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
- name: Run tests
timeout-minutes: 2
run: bun test:bun
run: bun run test:bun
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"test": "PATH=$(env -i bash -c 'echo $PATH') node ./src/main/js/cli.mjs ./src/test/js/test.mjs --quiet",
"test:cov": "c8 npm run test && c8 report -r lcov",
"test:bun": "bun ./src/main/js/cli.mjs ./src/test/js/test.mjs --quiet",
"test:bun": "PATH=$(env -i bash -c 'echo $PATH') bun ./src/main/js/cli.mjs ./src/test/js/test.mjs --quiet",
"publish:byhand": "npm publish --no-git-tag-version",
"publish:beta": "npm publish --no-git-tag-version --tag beta",
"publish:rc": "npm publish --no-git-tag-version --tag rc"
Expand Down

0 comments on commit 79bc0f5

Please sign in to comment.