Skip to content

Commit 06b4b21

Browse files
authored
ci: migrate to fastify reusable workflow (#246)
1 parent c9ca171 commit 06b4b21

File tree

1 file changed

+6
-36
lines changed

1 file changed

+6
-36
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +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-
- 14
18-
- 16
19-
- 18
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

0 commit comments

Comments
 (0)