Skip to content

Commit 24f70df

Browse files
authored
Migrate to github actions (#10)
1 parent 3cc63b3 commit 24f70df

File tree

3 files changed

+27
-42
lines changed

3 files changed

+27
-42
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [10.x, 12.x, 14.x]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
21+
- name: Install
22+
run: |
23+
npm install
24+
- name: Run Tests
25+
run: |
26+
npm run test:ci

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# fastify-request-context
22

33
[![NPM Version][npm-image]][npm-url]
4-
[![Linux Build][circleci-image]][circleci-url]
4+
[![Build Status](https://github.com/fastify/fastify-request-context/workflows/ci/badge.svg)](https://github.com/fastify/fastify-request-context/actions)
55

66
Request-scoped storage support, based on [Asynchronous Local Storage](https://github.com/kibertoad/asynchronous-local-storage) (which uses native Node.js ALS with fallback to [cls-hooked](https://github.com/Jeff-Lewis/cls-hooked) for older Node.js versions)
77

@@ -78,5 +78,3 @@ return app.ready()
7878
[npm-url]: https://npmjs.org/package/fastify-request-context
7979
[downloads-image]: https://img.shields.io/npm/dm/fastify-request-context.svg
8080
[downloads-url]: https://npmjs.org/package/fastify-request-context
81-
[circleci-image]: https://circleci.com/gh/fastify/fastify-request-context.svg?style=svg
82-
[circleci-url]: https://circleci.com/gh/fastify/fastify-request-context

0 commit comments

Comments
 (0)