Skip to content

build(deps-dev): bump @pokujs/multi-suite from 1.0.1 to 1.0.2 in the dev-dependencies group #2411

build(deps-dev): bump @pokujs/multi-suite from 1.0.1 to 1.0.2 in the dev-dependencies group

build(deps-dev): bump @pokujs/multi-suite from 1.0.1 to 1.0.2 in the dev-dependencies group #2411

Workflow file for this run

name: CI - OSX
on:
pull_request:
paths:
- '.github/workflows/ci-osx.yml'
- 'lib/**'
- 'test/**'
- 'tools/**'
- 'index.js'
- 'promise.js'
- 'poku.config.js'
- 'package.json'
- 'package-lock.json'
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: [22]
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@v6
- name: Install MySQL
run: |
brew install mysql@8.0
brew link mysql@8.0 --force
- name: Start MySQL Service
run: brew services start mysql@8.0
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
package-manager-cache: false
- name: Cache dependencies
uses: actions/cache@v5
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
timeout-minutes: 10