Skip to content

Commit aa06694

Browse files
authored
ci!: migrate to fastify reusable workflow (#38)
* ci!: migrate to fastify reusable workflow * docs(readme): remove snyk badge
1 parent 724d77f commit aa06694

File tree

2 files changed

+7
-37
lines changed

2 files changed

+7
-37
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,16 @@
11
name: CI
2-
'on':
2+
3+
on:
34
push:
45
paths-ignore:
5-
- docs/**
6+
- 'docs/**'
67
- '*.md'
78
pull_request:
89
paths-ignore:
9-
- docs/**
10+
- 'docs/**'
1011
- '*.md'
12+
1113
jobs:
1214
test:
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
node-version:
17-
- 10.x
18-
- 12.x
19-
- 14.x
20-
os:
21-
- macos-latest
22-
- ubuntu-latest
23-
- windows-latest
24-
steps:
25-
- uses: actions/checkout@v3
26-
- name: Use Node.js
27-
uses: actions/setup-node@v3
28-
with:
29-
node-version: ${{ matrix.node-version }}
30-
- name: Install Dependencies
31-
run: |
32-
npm install --ignore-scripts
33-
- name: Run Tests
34-
run: |
35-
npm test
36-
automerge:
37-
needs: test
38-
runs-on: ubuntu-latest
39-
permissions:
40-
pull-requests: write
41-
contents: write
42-
steps:
43-
- uses: fastify/github-action-merge-dependabot@v3
44-
with:
45-
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
16+

README.md

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

33
![CI](https://github.com/fastify/proxy-addr/workflows/CI/badge.svg)
44
[![NPM version](https://img.shields.io/npm/v/@fastify/proxy-addr.svg?style=flat)](https://www.npmjs.com/package/@fastify/proxy-addr)
5-
[![Known Vulnerabilities](https://snyk.io/test/github/fastify/proxy-addr/badge.svg)](https://snyk.io/test/github/fastify/proxy-addr)
65
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
76

87
Determine address of proxied request.

0 commit comments

Comments
 (0)