Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: [AEA-3617] - Fix SonarCloud coverage report #7

Merged
merged 10 commits into from
Feb 1, 2024
13 changes: 1 addition & 12 deletions .github/workflows/quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
required: true

jobs:
lint_build_test:
quality_checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -54,20 +54,9 @@ jobs:

- name: run build
run: make build
shell: bash

- name: run unit tests
run: make test
shell: bash

sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.BRANCH_NAME }}
fetch-depth: 0

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NHS EPS Spine Client

![Build](https://github.com/NHSDigital/nhs-eps-spine-client/workflows/release/badge.svg?branch=main)
[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=NHSDigital_nhs-fhir-middy-error-handler)](https://sonarcloud.io/summary/new_code?id=NHSDigital_nhs-fhir-middy-error-handler)

This repository contains the code to invoke the Spine client, utilised in <https://github.com/NHSDigital/prescriptionsforpatients>

Expand All @@ -11,11 +11,15 @@ This repository encompasses the code for invoking the Spine client, designed for
### Usage

To integrate this into your project, install the package using the following:
- command line

- command line

```bash
npm install @NHSDigital/eps-spine-client
```
- package.json

- package.json

```
"@NHSDigital/eps-spine-client": "latest"
```
Expand Down
Loading