diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 83cec86..ad4e85f 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -19,15 +19,11 @@ jobs: - name: Install Dependencies run: | - pwd - ls -la npm install working-directory: backend - name: Run Tests run: | - pwd - ls -la npm run test:cov working-directory: backend @@ -57,6 +53,6 @@ jobs: ECR_REPOSITORY: ${{ secrets.BACKEND_ECR_REPOSITORY }} IMAGE_TAG: ${{ steps.increment-git-tag.outputs.git-tag }} run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./backend + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG working-directory: backend \ No newline at end of file diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 051074b..76a136d 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -16,8 +16,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - with: - path: frontend - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 @@ -33,7 +31,9 @@ jobs: - name: Automatic Tagging of Releases id: increment-git-tag run: | - bash ./frontend/update-version.sh -v patch + pwd + ls -la + bash ./update-version.sh -v patch working-directory: frontend - name: Build, Tag, and Push the Image to Amazon ECR @@ -43,6 +43,6 @@ jobs: ECR_REPOSITORY: ${{ secrets.FRONTEND_ECR_REPOSITORY }} IMAGE_TAG: ${{ steps.increment-git-tag.outputs.git-tag }} run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./frontend + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG working-directory: frontend \ No newline at end of file diff --git a/backend/src/app.controller.spec.ts b/backend/src/app.controller.spec.ts index 3490b26..7cd2921 100644 --- a/backend/src/app.controller.spec.ts +++ b/backend/src/app.controller.spec.ts @@ -37,7 +37,7 @@ describe('AppController', () => { appController = app.get(AppController); }); - describe('Health endpoint!!', () => { + describe('Health endpoint!', () => { it('should return "OK"', () => { expect(appController.health()).toBe('OK'); }); diff --git a/frontend/redux/initial-states.ts b/frontend/redux/initial-states.ts index a4a2b72..015a2e4 100644 --- a/frontend/redux/initial-states.ts +++ b/frontend/redux/initial-states.ts @@ -46,7 +46,6 @@ export const initialUserState: initialUserState = { } }; - // ******** ALBUM ******** export interface picture { pictureId: string;