Skip to content

Commit 773c69e

Browse files
Ruzylo-cloudclaude
andcommitted
ci: typecheck workflow + badge
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 82e7254 commit 773c69e

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
jobs:
7+
typecheck:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 20
14+
- run: npm install --no-audit --no-fund typescript@5 @types/node
15+
- run: npx tsc --noEmit -p tsconfig.json

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# websocket-client
2+
![CI](https://github.com/FerrowAI/websocket-client/actions/workflows/ci.yml/badge.svg)
23

34
A reconnecting WebSocket wrapper for TypeScript/JavaScript. Exponential
45
backoff with jitter, heartbeat ping/pong, a bounded message queue for while
@@ -15,6 +16,7 @@ this library does not bundle one, on purpose (see Design notes).
1516
```bash
1617
npm install websocket-client
1718
# Node also needs a WebSocket implementation, e.g.:
19+
![CI](https://github.com/FerrowAI/websocket-client/actions/workflows/ci.yml/badge.svg)
1820
npm install ws
1921
```
2022

0 commit comments

Comments
 (0)