[Snyk] Security upgrade next from 10.2.3 to 14.2.7 #881
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: 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 |