Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Testing

on:
push:
branches:
- main

jobs:
codecov:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 22

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
slug: vladstsk/httio
flags: httio,rest
files: ./packages/httio/coverage/lcov.info,./packages/rest/coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
9 changes: 0 additions & 9 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,3 @@ jobs:

- name: Run tests
run: npm test

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/httio/coverage/lcov.info,./packages/rest/coverage/lcov.info
flags: httio,rest
slug: vladstsk/httio
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# **Httio**

[![Bundle coverage](https://codecov.io/gh/vladstsk/httio/branch/main/graph/badge.svg?flag=httio)](https://codecov.io/gh/vladstsk/httio?flag=httio)
[![Bundle size](https://img.shields.io/bundlephobia/minzip/httio)](https://bundlephobia.com/package/httio)
[![Bundle tree-shaking](https://badgen.net/bundlephobia/tree-shaking/httio)](https://bundlephobia.com/package/httio)
[![Typed with TypeScript](https://badgen.net/npm/types/httio)](https://github.com/vladstsk/httio)
[![License](https://img.shields.io/npm/l/httio)](https://github.com/vladstsk/httio/blob/main/LICENSE)
[![codecov](https://codecov.io/gh/vladstsk/httio/graph/badge.svg?token=15VVLNIEN3)](https://codecov.io/gh/vladstsk/httio)
[![size](https://img.shields.io/bundlephobia/minzip/httio)](https://bundlephobia.com/package/httio)
[![tree-shaking](https://badgen.net/bundlephobia/tree-shaking/httio)](https://bundlephobia.com/package/httio)
[![types](https://badgen.net/npm/types/httio)](https://github.com/vladstsk/httio)
[![license](https://img.shields.io/npm/l/httio)](https://github.com/vladstsk/httio/blob/main/LICENSE)

> Lightweight, type-safe HTTP client for browsers and Node.js.
> Built on top of the native `fetch` but provides a better DX with strong typing, middleware and a minimalistic API.
Expand Down
10 changes: 5 additions & 5 deletions packages/httio/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# **Httio**

[![Bundle coverage](https://codecov.io/gh/vladstsk/httio/branch/main/graph/badge.svg?flag=httio)](https://codecov.io/gh/vladstsk/httio?flag=httio)
[![Bundle size](https://img.shields.io/bundlephobia/minzip/httio)](https://bundlephobia.com/package/httio)
[![Bundle tree-shaking](https://badgen.net/bundlephobia/tree-shaking/httio)](https://bundlephobia.com/package/httio)
[![Typed with TypeScript](https://badgen.net/npm/types/httio)](https://github.com/vladstsk/httio)
[![License](https://img.shields.io/npm/l/httio)](https://github.com/vladstsk/httio/blob/main/LICENSE)
[![codecov](https://codecov.io/gh/vladstsk/httio/graph/badge.svg?token=15VVLNIEN3&flag=httio)](https://codecov.io/gh/vladstsk/httio?flag=httio)
[![size](https://img.shields.io/bundlephobia/minzip/httio)](https://bundlephobia.com/package/httio)
[![tree-shaking](https://badgen.net/bundlephobia/tree-shaking/httio)](https://bundlephobia.com/package/httio)
[![types](https://badgen.net/npm/types/httio)](https://github.com/vladstsk/httio)
[![license](https://img.shields.io/npm/l/httio)](https://github.com/vladstsk/httio/blob/main/LICENSE)

> Lightweight, type-safe HTTP client for browsers and Node.js.
> Built on top of the native `fetch` but provides a better DX with strong typing, middleware and a minimalistic API.
Expand Down