Skip to content

Commit

Permalink
🔥 merge workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
ileostar committed Jul 12, 2024
1 parent eb108c0 commit 2f97103
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 50 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,47 @@ jobs:

- name: Lint
run: pnpm lint
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

# test:
# runs-on: ${{ matrix.os }}
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/db.yml

This file was deleted.

0 comments on commit 2f97103

Please sign in to comment.