Skip to content

Commit

Permalink
ci: setup MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Oct 6, 2023
1 parent 956f183 commit 1d67796
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Shutdown Ubuntu MySQL
run: sudo service mysql stop

- name: Setup MariaDB
uses: getong/mariadb-action@v1.1
with:
mariadb version: '10.11.5'
mysql user: 'directus'
mysql password: 'password'
mysql database: 'directus'

- name: Init MariaDB
run: |
mysql -u directus -ppassword --database=directus --protocol=pipe < config/init.sql
- uses: actions/setup-node@v3
with:
node-version: 18.x
Expand Down

0 comments on commit 1d67796

Please sign in to comment.