diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa5da45dd3c8..8b29d911f11b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,8 +48,10 @@ jobs: run: deno task test:browser if: matrix.deno == 'v2.x' && matrix.os == 'ubuntu-latest' - - name: Generate lcov - run: deno task cov:gen + - name: Generate lcov and html reports + run: | + deno task cov:gen + deno task cov:view - name: Upload coverage uses: codecov/codecov-action@v5 @@ -58,6 +60,14 @@ jobs: with: name: ${{ matrix.os }}-${{ matrix.deno }} + - name: Upload coverage to Deploy + uses: denoland/deployctl@v1 + with: + project: std-coverage + root: coverage/html + entrypoint: jsr:@std/http@1/file-server + if: matrix.deno == 'canary' && matrix.os == 'ubuntu-latest' && github.event_name == 'push' + - name: Publish dry run run: deno publish --dry-run if: matrix.deno == 'canary' && matrix.os == 'ubuntu-latest'