Skip to content

Commit

Permalink
Create patient-microservice-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YehiaFarghaly authored Oct 6, 2023
1 parent e90c222 commit 88eb9d9
Showing 1 changed file with 31 additions and 0 deletions.
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 88eb9d9

Please sign in to comment.