Skip to content

Commit 25da4f7

Browse files
authored
ci: migrate to fastify reusable workflow (#75)
1 parent 14b2f3b commit 25da4f7

File tree

2 files changed

+6
-38
lines changed

2 files changed

+6
-38
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,15 @@
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
18-
- 12
19-
- 14
20-
- 16
21-
os:
22-
- macos-latest
23-
- ubuntu-latest
24-
- windows-latest
25-
steps:
26-
- uses: actions/checkout@v3
27-
- name: Use Node.js
28-
uses: actions/setup-node@v3
29-
with:
30-
node-version: ${{ matrix.node-version }}
31-
- name: Install Dependencies
32-
run: |
33-
npm install --ignore-scripts
34-
- name: Run Tests
35-
run: |
36-
npm test
37-
automerge:
38-
needs: test
39-
runs-on: ubuntu-latest
40-
permissions:
41-
pull-requests: write
42-
contents: write
43-
steps:
44-
- uses: fastify/github-action-merge-dependabot@v3
45-
with:
46-
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3

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

87
A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.

0 commit comments

Comments
 (0)