feat: add LoadUnitMultiInstanceProtoHook for tegg plugin (#150) #1242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Runner-ubuntu: | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: true | |
MYSQL_DATABASE: test | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 14, 16, 18, 20 ] | |
steps: | |
- name: Checkout Git Source | |
uses: actions/checkout@master | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Npm | |
run: npm i -g npm@9 | |
- name: Install Dependencies | |
run: npm i | |
- name: Continuous integration | |
run: | | |
npm run ci | |
npm run tsc:pub | |
- name: Code Coverage | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
Runner-macos: | |
runs-on: macOS-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 14, 16, 18, 20 ] | |
steps: | |
- name: Checkout Git Source | |
uses: actions/checkout@master | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Mysql | |
run: brew install [email protected] | |
- name: Start Mysql | |
run: /usr/local/opt/[email protected]/bin/mysql.server start | |
- name: Install Npm | |
run: npm i -g npm@9 | |
- name: Install Dependencies | |
run: npm i | |
- name: Continuous integration | |
run: npm run ci | |
- name: Code Coverage | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
Runner-windows: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 14, 16, 18, 20 ] | |
steps: | |
- name: Checkout Git Source | |
uses: actions/checkout@master | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Npm | |
run: npm i -g npm@8 | |
- name: Install Dependencies | |
run: npm i | |
- name: Continuous integration | |
run: npm run ci | |
- name: Code Coverage | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |