Skip to content

chore(deps): bump mysql2 from 3.10.1 to 3.11.3 #187

chore(deps): bump mysql2 from 3.10.1 to 3.11.3

chore(deps): bump mysql2 from 3.10.1 to 3.11.3 #187

name: Lint & Test PR
on:
pull_request:
branches: ['dev', 'master', 'next']
jobs:
runner-job:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: admin
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
mysql:
image: mysql
env:
MYSQL_DATABASE: test-base
MYSQL_USER: test-user
MYSQL_PASSWORD: test-password
MYSQL_ROOT_PASSWORD: root-password
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Run Tests
run: npm test
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
MYSQL_HOST: localhost
MYSQL_PORT: 3306