@ -21,3 +21,11 @@ jobs:
with:
bun-version: latest
- run: bun test
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
- run: bun fmt:ci
@ -15,4 +15,4 @@ Reference existing `*.test.ts` files for implementation.
```sh
# Run tests for a specific module!
$ bun test -t '<module>'
```
@ -2,7 +2,8 @@
"name": "modules",
"scripts": {
"test": "bun test",
"fmt": "bun x prettier -w **/*.ts **/*.md"
"fmt": "bun x prettier -w **/*.ts **/*.md *.md",
"fmt:ci": "bun x prettier --check **/*.ts **/*.md *.md"
},
"devDependencies": {
"bun-types": "^1.0.3"