Skip to content

Commit

Permalink
switch to GH Actions & native test runner & coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jul 3, 2024
1 parent bfaaa5d commit 51fb1c7
Show file tree
Hide file tree
Showing 8 changed files with 4,199 additions and 298 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Node
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

- name: Run builds
run: npm run prepublishOnly
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
coverage
dist
*.log
.nyc_output
node_modules
yarn.lock
package-lock.json
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# pbf

[![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)

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.

## Performance
Expand Down
Loading

0 comments on commit 51fb1c7

Please sign in to comment.