Skip to content

Commit 51fb1c7

Browse files
committed
switch to GH Actions & native test runner & coverage
1 parent bfaaa5d commit 51fb1c7

8 files changed

Lines changed: 4199 additions & 298 deletions

File tree

.github/workflows/node.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Node
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v4
9+
10+
- name: Setup Node
11+
uses: actions/setup-node@v4
12+
with:
13+
node-version: 20
14+
15+
- name: Install dependencies
16+
run: npm ci
17+
18+
- name: Run tests
19+
run: npm test
20+
21+
- name: Run builds
22+
run: npm run prepublishOnly

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
coverage
22
dist
33
*.log
4-
.nyc_output
54
node_modules
6-
yarn.lock
7-
package-lock.json

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# pbf
22

3-
[![build status](https://secure.travis-ci.org/mapbox/pbf.svg)](http://travis-ci.org/mapbox/pbf) [![Coverage Status](https://coveralls.io/repos/mapbox/pbf/badge.svg)](https://coveralls.io/r/mapbox/pbf)
4-
53
A low-level, fast, ultra-lightweight (3KB gzipped) JavaScript library for decoding and encoding [protocol buffers](https://developers.google.com/protocol-buffers), a compact binary format for structured data serialization. Works both in Node and the browser. Supports lazy decoding and detailed customization of the reading/writing code.
64

75
## Performance

0 commit comments

Comments
 (0)