Skip to content

Create patient-microservice-ci.yml #4

Create patient-microservice-ci.yml

Create patient-microservice-ci.yml #4

Workflow file for this run

# 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: Frontend CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint-and-test-frontend:
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 (Frontend)
run: npm ci
working-directory: client
- name: Run ESLint (Frontend)
run: npm run lint
working-directory: client