Skip to content

Commit 99eba16

Browse files
committed
ci(github): fix issue with github ci
1 parent 513bc35 commit 99eba16

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
name: Tests
44

5-
# Controls when the action will run.
5+
# Controls when the action will run.
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
@@ -26,22 +26,22 @@ jobs:
2626
steps:
2727
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2828
- uses: actions/checkout@v2
29-
29+
3030
- name: env sync
31-
run: cp .env.dist .env && export $(cat ./.env | xargs)
31+
run: cp .env.dist .env && export $(cat ./.env | xargs)
3232

3333
# Runs a single command using the runners shell
3434
- name: build docker db
35-
run: docker-compose up -d
36-
35+
run: docker compose up -d
36+
3737
- name: install
3838
run: yarn install --ignore-scripts
39-
39+
4040
- name: build
4141
run: yarn build
4242

4343
- name: check docker
44-
run: docker-compose up -d
44+
run: docker compose up -d
4545

4646
# Runs a set of commands using the runners shell
4747
- name: tests

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
version: "3"
2-
31
services:
42
db:
53
image: mysql:5.7
64
env_file: .env
7-
ports:
5+
ports:
86
- 3306:3306
97
volumes:
108
- db_data:/var/lib/mysql

0 commit comments

Comments
 (0)