Skip to content

Commit

Permalink
Update workflow to exclude user-service temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
delishad21 authored Sep 9, 2024
1 parent 1b07674 commit 33d1496
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
COLLABORATION_SERVICE_URL: "http://localhost:8001/api"
MATCHING_SERVICE_URL: "http://localhost:8002/api"
QUESTION_SERVICE_URL: "http://localhost:8003/api"
USER_SERVICE_URL: "http://localhost:8004/api"
# USER_SERVICE_URL: "http://localhost:8004"

jobs:
collaboration_service:
Expand Down Expand Up @@ -103,27 +103,27 @@ jobs:
- name: Stop the service
run: pkill node

user_service:
runs-on: ubuntu-latest
name: User Service
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
working-directory: ./user-service
run: npm install

- name: Start the service
working-directory: ./user-service
run: |
nohup npm run start & sleep 5
curl --fail ${{ env.USER_SERVICE_URL }} || exit 1
- name: Stop the service
run: pkill node
# user_service:
# runs-on: ubuntu-latest
# name: User Service
# steps:
# - name: Checkout code
# uses: actions/checkout@v3

# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ env.NODE_VERSION }}

# - name: Install dependencies
# working-directory: ./user-service
# run: npm install

# - name: Start the service
# working-directory: ./user-service
# run: |
# nohup npm run start & sleep 5
# curl --fail ${{ env.USER_SERVICE_URL }} || exit 1

# - name: Stop the service
# run: pkill node

0 comments on commit 33d1496

Please sign in to comment.