Skip to content

Upgrade USWDS to 3.10.0 #363

Upgrade USWDS to 3.10.0

Upgrade USWDS to 3.10.0 #363

Workflow file for this run

name: Code Quality Checks
on:
pull_request:
branches: [main]
jobs:
run-build:
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: Build each package
run: |
npm run build:comet-uswds
npm run build:comet-extras
npm run build:comet-data-viz
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 Vitest tests with coverage
run: npm run test:coverage
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