Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
YehiaFarghaly committed Oct 6, 2023
2 parents 03b33af + f29a2c0 commit 1184073
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/client-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ jobs:
run: npm run lint
working-directory: client

- name: Run tests (Frontend)
run: npm test
working-directory: client
31 changes: 31 additions & 0 deletions .github/workflows/clinic-microservice-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Clinic CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint-and-test-patient:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install dependencies (Patient Microservice)
run: npm ci
working-directory: clinic

- name: Run ESLint (Patient Microservice)
run: npm run lint
working-directory: clinic
31 changes: 31 additions & 0 deletions .github/workflows/patient-microservice-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Patient CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint-and-test-patient:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install dependencies (Patient Microservice)
run: npm ci
working-directory: patient

- name: Run ESLint (Patient Microservice)
run: npm run lint
working-directory: patient

0 comments on commit 1184073

Please sign in to comment.