File tree Expand file tree Collapse file tree 5 files changed +46
-25
lines changed Expand file tree Collapse file tree 5 files changed +46
-25
lines changed Original file line number Diff line number Diff line change 1+ version : 1
2+ update_configs :
3+ - package_manager : " javascript"
4+ directory : " /"
5+ update_schedule : " daily"
Original file line number Diff line number Diff line change 1+ name : CI workflow
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ matrix :
11+ node : [10, 12, 14]
12+ db : [
13+ " mysql:8.0"
14+ ]
15+
16+ name : Node.js ${{ matrix.node }} - ${{ matrix.db }}
17+
18+ services :
19+ mysql :
20+ image : ${{ matrix.db }}
21+ env :
22+ MYSQL_ALLOW_EMPTY_PASSWORD : yes
23+ MYSQL_DATABASE : mysql
24+ ports :
25+ - 3306:3306
26+ options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
27+
28+ steps :
29+ - uses : actions/checkout@v2
30+ with :
31+ node-version : ${{ matrix.node-version }}
32+
33+ - name : Install
34+ run : npm install
35+
36+ - name : Run tests
37+ run : npm run test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# fastify-mysql
22
3- [ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( http://standardjs.com/ ) [ ![ Build Status] ( https://travis-ci.org/fastify/fastify-mysql.svg?branch=master )] ( https://travis-ci.org/fastify/fastify-mysql ) [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/fastify/fastify-mysql.svg )] ( https://greenkeeper.io/ )
3+ ![ CI workflow] ( https://github.com/fastify/fastify-mysql/workflows/CI%20workflow/badge.svg )
4+ [ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( http://standardjs.com/ )
45
56Fastify MySQL connection plugin, with this you can share the same MySQL connection pool in every part of your server.
67Under the hood the [ mysql2] ( https://github.com/sidorares/node-mysql2 ) is used, the options that you pass to ` register ` will be passed to the MySQL pool builder.
Original file line number Diff line number Diff line change 2828 },
2929 "homepage" : " https://github.com/fastify/fastify-mysql#readme" ,
3030 "dependencies" : {
31- "fastify-plugin" : " ^1.5 .0" ,
31+ "fastify-plugin" : " ^2.0 .0" ,
3232 "mysql2" : " ^2.0.0"
3333 },
3434 "devDependencies" : {
35- "fastify" : " ^2. 3.0" ,
35+ "fastify" : " ^3.0.0-rc.1 " ,
3636 "standard" : " ^14.0.0" ,
3737 "tap" : " ^12.7.0"
38- },
39- "greenkeeper" : {
40- "ignore" : [
41- " tap"
42- ]
4338 }
4439}
You can’t perform that action at this time.
0 commit comments