Skip to content

Commit

Permalink
Merge branch 'main' into frontendQuestion
Browse files Browse the repository at this point in the history
  • Loading branch information
dloh2236 committed Sep 23, 2024
2 parents f608135 + a1f59ec commit b565662
Show file tree
Hide file tree
Showing 16 changed files with 5,242 additions and 1,521 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,34 +82,34 @@ jobs:
- name: Stop the service
run: pkill node

question_service:
runs-on: ubuntu-latest
name: Question Service
steps:
- name: Checkout code
uses: actions/checkout@v3
# question_service:
# runs-on: ubuntu-latest
# name: Question 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: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ env.NODE_VERSION }}

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

- name: Build the service
working-directory: ./question-service
run: npm run build
# - name: Build the service
# working-directory: ./question-service
# run: npm run build

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

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

# user_service:
# runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit b565662

Please sign in to comment.