Skip to content

Commit 1786bc0

Browse files
agarwalkartikmcollinaEomm
authored
Issue #203 - Move to Github Actions (#211)
* Create ci.yml Adds a ci.yml file to be run by github actions * Update ci.yml Change job name to test * Update .github/workflows/ci.yml adds node v13 in the versions to be tested Co-Authored-By: Matteo Collina <[email protected]> * Adds Ci Workflow badge and removes Travis and Azure Pipeline badges * Update ci.yml Removes the step for linting and reporting, as they are of no use after moving from azure pipelines * Update .github/workflows/ci.yml Co-Authored-By: Manuel Spigolon <[email protected]> Co-authored-by: Matteo Collina <[email protected]> Co-authored-by: Manuel Spigolon <[email protected]>
1 parent 3294702 commit 1786bc0

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI workflow
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node-version: [6.x, 8.x, 10.x, 11.x, 12.x, 13.x]
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Use Node.js ${{ matrix.node-version }}
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: ${{ matrix.node-version }}
15+
- name: Install Dependencies
16+
run: npm install --ignore-scripts
17+
- name: Test
18+
run: npm run test

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# fast-json-stringify
22

3-
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) [![Build Status](https://dev.azure.com/fastify/fastify/_apis/build/status/fastify.fast-json-stringify?branchName=master)](https://dev.azure.com/fastify/fastify/_build/latest?definitionId=3&branchName=master) [![Build Status](https://travis-ci.org/fastify/fast-json-stringify.svg?branch=master)](https://travis-ci.org/fastify/fast-json-stringify) [![NPM downloads](https://img.shields.io/npm/dm/fast-json-stringify.svg?style=flat)](https://www.npmjs.com/package/fast-json-stringify)
3+
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) ![Ci Workflow](https://github.com/fastify/fastify-bearer-auth/workflows/CI%20workflow/badge.svg) [![NPM downloads](https://img.shields.io/npm/dm/fast-json-stringify.svg?style=flat)](https://www.npmjs.com/package/fast-json-stringify)
4+
45

56
__fast-json-stringify__ is significantly faster than `JSON.stringify()` for small payloads. Its performance advantage shrinks as your payload grows. It pairs well with [__flatstr__](https://www.npmjs.com/package/flatstr), which triggers a V8 optimization that improves performance when eventually converting the string to a `Buffer`.
67

0 commit comments

Comments
 (0)