diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52ab573..4ec0569 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest] node-version: ${{ fromJson(needs.get-lts.outputs.active) }} fail-fast: false steps: @@ -51,12 +51,20 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest] + os: [windows-latest, macos-latest] node-version: ${{ fromJson(needs.get-lts.outputs.active) }} fail-fast: false + services: + mysql: + image: mysql:8.2 + env: + MYSQL_ROOT_PASSWORD: root + ports: + - 3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - - name: Start MySQL - run: /etc/init.d/mysql start + # - name: Start MySQL + # run: /etc/init.d/mysql start - uses: actions/checkout@v4 - uses: actions/setup-node@v4 name: Node ${{ matrix.node-version }} on ${{ matrix.os }}