Skip to content

Commit

Permalink
fix: Continuous integration improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Axeloooo committed Nov 19, 2023
1 parent 0664f6b commit 34bea91
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 29 deletions.
11 changes: 0 additions & 11 deletions .github/actions/docker-compose/action.yml

This file was deleted.

14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ jobs:
- name: Install dependencies
run: cd backend && npm install

- name: Start services
uses: ./.github/actions/docker-compose
- name: Start volume
run: docker volume create db

- name: Start database
run: docker run -d \
--name db \
-e MYSQL_ROOT_PASSWORD=root \
-e MYSQL_DATABASE=techstart-fashion \
-p 3306:3306 \
-v db:/var/lib/mysql \
--restart always \
mysql

- name: Test
run: cd backend && npm run test
16 changes: 0 additions & 16 deletions docker-compose.yml

This file was deleted.

0 comments on commit 34bea91

Please sign in to comment.