-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DV-000298: Improve the GitHub action file.
- Loading branch information
1 parent
4cb9418
commit e9fd564
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|