Skip to content

Commit

Permalink
fix(spellcheck): added spellcheck to the pipeline (#511)
Browse files Browse the repository at this point in the history
## Introduction ✏️ 
Ensure spelling check is performed as part of the pipeline.

## Resolution ✔️ 
* Added `spellcheck` service to be executed during CICD under SCA.
* Spelling fixes.

## Miscellaneous ➕ 
* Dependencies updates.

---------

Co-authored-by: Abhi Markan <[email protected]>
  • Loading branch information
abhi-markan and Abhi Markan authored Sep 28, 2023
1 parent e897266 commit 8b84855
Show file tree
Hide file tree
Showing 4 changed files with 525 additions and 528 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/sca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#####################################
# This GHA performs SCA amongst following remits:
# 1. Code quality
# 2. Code coverage
# 3. Vulnerabilities
# 2. Vulnerabilities
# 3. Spell check
# 4. Licensing

name: Source Code Analysis
Expand Down Expand Up @@ -49,7 +49,27 @@ jobs:
with:
verbose: true

# 3. Licensing - SCA
# 3. Code quality - Spell check
spell:
name: Spelling 📚
needs: setup
environment:
name: ${{ needs.setup.outputs.environment }}
runs-on: ubuntu-latest

steps:
- name: Repository
uses: actions/checkout@v4

- name: Dependencies
working-directory: ./
run: npm ci --legacy-peer-deps

- name: Spell check
working-directory: ./
run: npm run spellcheck

# 4. Licensing - SCA
license:
name: Licensing ✏️
needs: setup
Expand Down
5 changes: 0 additions & 5 deletions .lintstagedrc.json

This file was deleted.

Loading

0 comments on commit 8b84855

Please sign in to comment.