Skip to content

update test

update test #22

Workflow file for this run

name: CI
'on':
- push
jobs:
mysql_57:
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: fedaco
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --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: mysql
DB_PORT: 3306
DB_USER: root
DB_PASSWORD: ""
DB_COLLATION: utf8mb4_unicode_ci
run: |
yarn nx test --project fedaco