Skip to content

CSG-1032: Comet USWDS Components with children should allow rendering of React children or a list of items #86

CSG-1032: Comet USWDS Components with children should allow rendering of React children or a list of items

CSG-1032: Comet USWDS Components with children should allow rendering of React children or a list of items #86

Workflow file for this run

name: Code Quality Checks
on:
pull_request:
branches: [main]
jobs:
run-test-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run Jest tests with coverage
run: npm run test
run-lint-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
run-formatting-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Format code
run: npm run format