update difference with type #5
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: CI | |
'on': | |
- push | |
jobs: | |
mysql_57: | |
runs-on: ubuntu-22.04 | |
services: | |
mysql: | |
image: mariadb:lts | |
env: | |
MARIADB_ALLOW_EMPTY_PASSWORD: yes | |
MARIADB_ROOT_PASSWORD: 123456 | |
MARIADB_DATABASE: fedaco_test | |
ports: | |
- 3306:3306 | |
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 | |
strategy: | |
matrix: | |
node: | |
- '20' | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "${{ matrix.node }}" | |
- uses: actions/cache@v2 | |
id: yarn-cache | |
with: | |
path: | | |
node_modules | |
**/node_modules | |
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}" | |
restore-keys: "${{ runner.os }}-yarn-\n" | |
- name: Installing project dependencies | |
run: yarn install --frozen-lockfile --non-interactive | |
- name: test fedaco | |
env: | |
DB_HOST: 127.0.0.1 | |
DB_PORT: 3306 | |
DB_USER: root | |
DB_PASSWORD: "123456" | |
DB_COLLATION: utf8mb4_unicode_ci | |
run: | | |
yarn nx run-many -t test -p nanofn annotation | |