SyncClient interface #628
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: Build and Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:8.0 | |
env: | |
MYSQL_ROOT_PASSWORD: "" | |
MYSQL_ALLOW_EMPTY_PASSWORD: "yes" | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10 | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_PASSWORD: password | |
POSTGRES_USER: test | |
POSTGRES_DB: postgres | |
ports: | |
- 5432:5432 | |
strategy: | |
matrix: | |
node-version: [20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- run: npm install | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run test -w accel-web | |
- run: npm run generate:mysql | |
- run: npm run test:mysql | |
- run: npm run sample | |
- run: npm run generate:sqlite | |
- run: npm run test:sqlite | |
- run: npm run generate:pg | |
- run: npm run test:pg |