Skip to content

Commit

Permalink
[Relay] Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Nov 6, 2023
1 parent 86ea47c commit d32cad6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ jobs:

runs-on: ${{ matrix.operating-system }}

services:
postgres:
image: postgres:12.0
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: 12345678
POSTGRES_DB: relay
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

strategy:
fail-fast: false
matrix:
Expand All @@ -21,17 +32,6 @@ jobs:
cache: 'yarn'
node-version: ${{ matrix.node-version }}

- name: Setup MySQL 8.0
uses: ankane/setup-mysql@v1
with:
mysql-version: 8.0
database: relay

- name: Config MySQL
run: |
mysqladmin -u root password '12345678'
exit;
- name: Install dependencies
run: yarn install --pure-lockfile
- name: Check formatting of Contract
Expand Down

0 comments on commit d32cad6

Please sign in to comment.