File tree Expand file tree Collapse file tree 2 files changed +6
-53
lines changed Expand file tree Collapse file tree 2 files changed +6
-53
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
- ' on ' :
2
+
3
+ on :
3
4
push :
4
5
paths-ignore :
5
- - docs/**
6
+ - ' docs/**'
6
7
- ' *.md'
7
8
pull_request :
8
9
paths-ignore :
9
- - docs/**
10
+ - ' docs/**'
10
11
- ' *.md'
12
+
11
13
jobs :
12
14
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 run test:ci
36
- - name : Coveralls Parallel
37
- uses :
coverallsapp/[email protected]
38
- with :
39
- github-token : ${{ secrets.GITHUB_TOKEN }}
40
- parallel : true
41
- flag-name : run-${{ matrix.node-version }}-${{ matrix.os }}
42
- coverage :
43
- needs : test
44
- runs-on : ubuntu-latest
45
- steps :
46
- - name : Coveralls Finished
47
- uses :
coverallsapp/[email protected]
48
- with :
49
- github-token : ${{ secrets.GITHUB_TOKEN }}
50
- parallel-finished : true
51
- automerge :
52
- needs : test
53
- runs-on : ubuntu-latest
54
- permissions :
55
- pull-requests : write
56
- contents : write
57
- steps :
58
- - uses : fastify/github-action-merge-dependabot@v3
59
- with :
60
- github-token : ${{ secrets.GITHUB_TOKEN }}
15
+ uses : fastify/workflows/.github/workflows/plugins-ci.yml@v3
Original file line number Diff line number Diff line change 2
2
3
3
![ CI] ( https://github.com/fastify/fastify-cors/workflows/CI/badge.svg )
4
4
[ ![ NPM version] ( https://img.shields.io/npm/v/@fastify/cors.svg?style=flat )] ( https://www.npmjs.com/package/@fastify/cors )
5
- [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/fastify/fastify-cors/badge.svg )] ( https://snyk.io/test/github/fastify/fastify-cors )
6
- [ ![ Coverage Status] ( https://coveralls.io/repos/github/fastify/fastify-cors/badge.svg?branch=master )] ( https://coveralls.io/github/fastify/fastify-cors?branch=master )
7
5
[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( https://standardjs.com/ )
8
6
9
7
You can’t perform that action at this time.
0 commit comments