Skip to content

build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.12.2 in /website #1120

build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.12.2 in /website

build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.12.2 in /website #1120

Workflow file for this run

name: CI - OSX
on:
pull_request:
push:
branches: [ main ]
workflow_dispatch:
env:
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_DATABASE: test
jobs:
tests-osx:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x] # LTS
use-compression: [0, 1]
use-tls: [0, 1]
name: Node.js ${{ matrix.node-version }} - DB ${{ matrix.mysql-version }} - SSL=${{matrix.use-tls}} Compression=${{matrix.use-compression}}
steps:
- uses: actions/checkout@v4
- name: Install MySQL
run: |
brew install [email protected]
brew link [email protected] --force
- name: Start MySQL Service
run: brew services start [email protected]
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-osx-${{ hashFiles('package-lock.json') }}
restore-keys: npm-osx-
- name: Install npm dependencies
run: npm ci
- name: Wait mysql server is ready
run: node tools/wait-up.js
- name: Configure MySQL
run: |
mysql -u root -e "CREATE DATABASE IF NOT EXISTS ${MYSQL_DATABASE};"
- name: Run tests
run: FILTER=${{matrix.filter}} MYSQL_USE_TLS=${{ matrix.use-tls }} MYSQL_USE_COMPRESSION=${{ matrix.use-compression }} npm run test