test: increased test coverage for API Endpoints #2493
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Cleanliness | |
on: [pull_request] | |
env: # environment variables (available in any part of the action) | |
NODE_VERSION: 18 | |
jobs: | |
linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: # list of steps | |
- name: Install NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Code Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
run: npm install --workspaces | |
- name: Code Linting | |
run: | | |
npm run lint | |
npm run lint --workspaces --if-present |