Skip to content

Update dependency eslint-plugin-ghost to v3 #3546

Update dependency eslint-plugin-ghost to v3

Update dependency eslint-plugin-ghost to v3 #3546

Workflow file for this run

name: Test Suite
on:
pull_request:
push:
branches:
- main
- 'renovate/*'
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ '16.13.0', '18.12.1', '20.11.1' ]
env:
- DB: sqlite3
NODE_ENV: testing
- DB: mysql8
NODE_ENV: testing-mysql
env:
DB: ${{ matrix.env.DB }}
NODE_ENV: ${{ matrix.env.NODE_ENV }}
database__connection__password: root
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Shutdown MySQL
run: sudo service mysql stop
if: matrix.env.DB == 'mysql8'
- uses: daniellockyer/mysql-action@main
if: matrix.env.DB == 'mysql8'
with:
mysql version: '8.0'
mysql database: 'km_testing'
mysql root password: 'root'
- run: yarn
- run: yarn test