File tree Expand file tree Collapse file tree 3 files changed +36
-16
lines changed Expand file tree Collapse file tree 3 files changed +36
-16
lines changed Original file line number Diff line number Diff line change 1
- name : CI workflow
2
- on : [push, pull_request]
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' docs/**'
7
+ - ' *.md'
8
+ pull_request :
9
+ paths-ignore :
10
+ - ' docs/**'
11
+ - ' *.md'
12
+
3
13
jobs :
4
14
test :
5
- runs-on : ubuntu-latest
15
+ runs-on : ${{ matrix.os }}
16
+
6
17
strategy :
7
18
matrix :
8
19
node-version : [10.x, 12.x, 14.x]
20
+ os : [macos-latest, ubuntu-latest, windows-latest]
21
+
9
22
steps :
10
- - uses : actions/checkout@v2
11
- - name : Use Node.js ${{ matrix.node-version }}
12
- uses : actions/setup-node@v2.1.5
13
- with :
14
- node-version : ${{ matrix.node-version }}
15
- - name : Install Dependencies
16
- run : npm install --ignore-scripts
17
- - name : Test
18
- run : npm test
23
+ - uses : actions/checkout@v2
24
+
25
+ - name : Use Node.js
26
+ uses : actions/setup-node@v2.1.5
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+
30
+ - name : Install Dependencies
31
+ run : |
32
+ npm install --ignore-scripts
33
+
34
+ - name : Run Tests
35
+ run : |
36
+ npm run test
19
37
20
38
automerge :
21
39
needs : test
22
40
runs-on : ubuntu-latest
23
41
steps :
24
42
- uses : fastify/github-action-merge-dependabot@v2.0.0
25
- if : ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
26
43
with :
27
- github-token : ${{secrets.github_token }}
44
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# fastify-http-proxy
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/fastify/fastify-http-proxy.svg?branch=master )] ( https://travis-ci.org/fastify/fastify-http-proxy )
3
+ ![ CI] ( https://github.com/fastify/fastify-http-proxy/workflows/CI/badge.svg )
4
+ [ ![ NPM version] ( https://img.shields.io/npm/v/fastify-http-proxy.svg?style=flat )] ( https://www.npmjs.com/package/fastify-http-proxy )
5
+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/fastify/fastify-http-proxy/badge.svg )] ( https://snyk.io/test/github/fastify/fastify-http-proxy )
6
+ [ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( https://standardjs.com/ )
4
7
5
8
Proxy your http requests to another server, with hooks.
6
9
This [ ` fastify ` ] ( https://www.fastify.io ) plugin forward all the request
Original file line number Diff line number Diff line change 4
4
"description" : " proxy http requests, for Fastify" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " standard | snazzy && tap test/*.js && npm run typescript" ,
8
7
"lint:fix" : " standard --fix" ,
9
8
"lint:typescript" : " standard --fix --parser @typescript-eslint/parser --plugin typescript test/types/*.ts" ,
9
+ "test" : " standard | snazzy && tap test/*.js && npm run typescript" ,
10
10
"typescript" : " tsd"
11
11
},
12
12
"repository" : {
You can’t perform that action at this time.
0 commit comments