Update dependency eslint-plugin-ghost to v3 #3546
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |