File tree Expand file tree Collapse file tree 2 files changed +2
-37
lines changed Expand file tree Collapse file tree 2 files changed +2
-37
lines changed Original file line number Diff line number Diff line change @@ -2,50 +2,14 @@ name: CI
22
33on :
44 push :
5- branches :
6- - master
75 paths-ignore :
86 - ' docs/**'
97 - ' *.md'
108 pull_request :
11- branches :
12- - master
139 paths-ignore :
1410 - ' docs/**'
1511 - ' *.md'
1612
1713jobs :
1814 test :
19- runs-on : ${{ matrix.os }}
20-
21- strategy :
22- matrix :
23- node-version : [14.x, 16.x, 18.x]
24- os : [macos-latest, ubuntu-latest, windows-latest]
25-
26- steps :
27- - uses : actions/checkout@v3
28-
29- - name : Use Node.js
30- uses : actions/setup-node@v3
31- with :
32- node-version : ${{ matrix.node-version }}
33-
34- - name : Install Dependencies
35- run : |
36- npm install --ignore-scripts
37-
38- - name : Run Tests With Tap
39- run : |
40- npm run test:tap
41-
42- automerge :
43- needs : test
44- runs-on : ubuntu-latest
45- permissions :
46- pull-requests : write
47- contents : write
48- steps :
49- - uses : fastify/github-action-merge-dependabot@v3
50- with :
51- 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 1212 "main" : " index.js" ,
1313 "types" : " index.d.ts" ,
1414 "scripts" : {
15+ "test" : " npm run test:tap" ,
1516 "test:coverage" : " tap -J test-tap/*.test.js --cov --coverage-report=lcovonly" ,
1617 "test:jest" : " jest --config=jest.config.json" ,
1718 "test:tap" : " tap -J test-tap/*.test.js" ,
You can’t perform that action at this time.
0 commit comments