✨ simpler breadcrumbs #6
Workflow file for this run
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: Tinker with mysql | |
on: | |
pull_request | |
jobs: | |
tinker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: start mysql | |
run: sudo service mysql start | |
- name: lets just try to create a db | |
run: mysql -e 'CREATE DATABASE `bio-test`;' -uroot -proot | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Generate prisma deps | |
run: npx prisma generate | |
- name: Copy .env.test-action to .env.test and .env | |
run: cp .env.test-action .env.test | |
- name: Run Migrations | |
run: pnpm run db:test:reset |