Skip to content

fix: packages/graphql/package.json to reduce vulnerabilities (#373) #879

fix: packages/graphql/package.json to reduce vulnerabilities (#373)

fix: packages/graphql/package.json to reduce vulnerabilities (#373) #879

Workflow file for this run

name: Mysql 8.0
on:
push:
branches:
- master
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: tensei
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
fail-fast: true
max-parallel: 6
matrix:
node-version: [12.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Node.js v-${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --production=false
- name: Build packages
run: yarn build
- name: Run package tests on mysql database
run: cd /home/runner/work/tensei/tensei/packages/tests && yarn test
env:
DATABASE_TYPE: mysql
DATABASE_NAME: tensei
DATABASE_USER: root