Skip to content

Commit e8d32f8

Browse files
author
Shogun
committed
chore: Switch to GitHub Actions.
1 parent eddf96e commit e8d32f8

File tree

3 files changed

+28
-37
lines changed

3 files changed

+28
-37
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: CI
3+
on: [push, pull_request]
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v1
10+
- name: Use Node.js LTS
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 12.x
14+
- name: Restore cached dependencies
15+
uses: actions/cache@v1
16+
with:
17+
path: node_modules
18+
key: node-modules-${{ hashFiles('**/package-lock.json') }}
19+
- name: Install dependencies
20+
run: npm install
21+
- name: Run Tests
22+
run: npm run ci
23+
- name: Upload coverage to Codecov
24+
uses: codecov/codecov-action@v1
25+
with:
26+
file: ./coverage/coverage-final.json
27+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Package Version](https://img.shields.io/npm/v/fastify-errors-properties.svg)](https://npm.im/fastify-errors-properties)
44
[![Dependency Status](https://img.shields.io/david/ShogunPanda/fastify-errors-properties)](https://david-dm.org/ShogunPanda/fastify-errors-properties)
5-
[![Build](https://img.shields.io/circleci/build/gh/ShogunPanda/fastify-errors-properties?token=a721161f936393ce2826774e8b89c0785c06967b)](https://circleci.com/gh/ShogunPanda/fastify-errors-properties)
5+
[![Build](https://github.com/ShogunPanda/fastify-errors-properties/workflows/CI/badge.svg)](https://github.com/ShogunPanda/fastify-errors-properties/actions?query=workflow%3ACI)
66
[![Code Coverage](https://img.shields.io/codecov/c/gh/ShogunPanda/fastify-errors-properties?token=d0ae1643f35c4c4f9714a357f796d05d)](https://codecov.io/gh/ShogunPanda/fastify-errors-properties)
77

88
A error handling plugin for Fastify that enables additional properties in errors.

0 commit comments

Comments
 (0)