Skip to content

build(deps-dev): bump eslint from 8.57.0 to 9.6.0 #12

build(deps-dev): bump eslint from 8.57.0 to 9.6.0

build(deps-dev): bump eslint from 8.57.0 to 9.6.0 #12

Workflow file for this run

name: DB-Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
db-test:
runs-on: ubuntu-latest
env:
DATABASE_URL: mysql://test:password@localhost:3306/poster_craft_test
SECRET: sjldk92#sd903mnc./xklsjdf9sdfj
REDIS_URL: redis://127.0.0.1:6379
services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: test
MYSQL_PASSWORD: password
MYSQL_DATABASE: poster_craft_test
ports:
- 3306:3306
redis:
image: redis:6.2.5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20.12.0"
- name: Setup pnpm
run: corepack enable
- name: Install dependencies
run: pnpm install
- name: Run database initialization command
run: pnpm db:init:test:ci
- name: Run build schema
run: pnpm schema:build