File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
name : Tests
4
4
5
- # Controls when the action will run.
5
+ # Controls when the action will run.
6
6
on :
7
7
# Triggers the workflow on push or pull request events but only for the master branch
8
8
push :
@@ -26,22 +26,22 @@ jobs:
26
26
steps :
27
27
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28
28
- uses : actions/checkout@v2
29
-
29
+
30
30
- name : env sync
31
- run : cp .env.dist .env && export $(cat ./.env | xargs)
31
+ run : cp .env.dist .env && export $(cat ./.env | xargs)
32
32
33
33
# Runs a single command using the runners shell
34
34
- name : build docker db
35
- run : docker- compose up -d
36
-
35
+ run : docker compose up -d
36
+
37
37
- name : install
38
38
run : yarn install --ignore-scripts
39
-
39
+
40
40
- name : build
41
41
run : yarn build
42
42
43
43
- name : check docker
44
- run : docker- compose up -d
44
+ run : docker compose up -d
45
45
46
46
# Runs a set of commands using the runners shell
47
47
- name : tests
Original file line number Diff line number Diff line change 1
- version : " 3"
2
-
3
1
services :
4
2
db :
5
3
image : mysql:5.7
6
4
env_file : .env
7
- ports :
5
+ ports :
8
6
- 3306:3306
9
7
volumes :
10
8
- db_data:/var/lib/mysql
You can’t perform that action at this time.
0 commit comments