Skip to content

Commit

Permalink
DV-000298: Improve the GitHub action file.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaskocuturilo committed Aug 13, 2024
1 parent 4cb9418 commit e9fd564
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
REACT_APP_TOKEN: ${{ secrets.REACT_APP_TOKEN }}
run: gradle clean build test
run: gradlew clean build test

frontend:
runs-on: ubuntu-latest
Expand All @@ -74,7 +74,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci
run: npm ci --force

- name: Install Compose
uses: ndeloof/[email protected]
with:
legacy: true
version: v2.1.0

- name: Install Docker Compose
uses: docker/compose-action@v2
Expand All @@ -84,7 +90,7 @@ jobs:
- name: Start Docker Containers
run: |
docker-compose up --detach --build
docker-compose exec -T app wait-for-it localhost:3000 # Replace with appropriate service and port
docker-compose exec -T app wait-for-it localhost
- name: Run Cypress Smoke Tests
uses: cypress-io/github-action@v4
Expand Down

0 comments on commit e9fd564

Please sign in to comment.