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 22
33name : Tests
44
5- # Controls when the action will run.
5+ # Controls when the action will run.
66on :
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
Original file line number Diff line number Diff line change 1- version : " 3"
2-
31services :
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
You can’t perform that action at this time.
0 commit comments