diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cfe7c30..21f05169 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: node-version: '20.x' - uses: oven-sh/setup-bun@v1 with: - bun-version: '1.0.25' + bun-version: '1.1.16' - run: bun install - run: bun run format - run: bun run lint @@ -92,9 +92,12 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 with: - bun-version: '1.0.25' + bun-version: '1.1.16' - run: bun run test:bun - + - uses: actions/upload-artifact@v4 + with: + name: coverage-bun + path: coverage/ fastly: name: 'Fastly Compute' runs-on: ubuntu-latest diff --git a/bunfig.toml b/bunfig.toml index 1fe90030..f50a937d 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,2 +1,7 @@ [install.lockfile] -print = "yarn" \ No newline at end of file +print = "yarn" + +[test] +coverage = true +coverageReporter = ["text", "lcov"] +coverageDir = "coverage/raw/bun"