Skip to content

tests: add unit tests for commands and utils #52

tests: add unit tests for commands and utils

tests: add unit tests for commands and utils #52

Workflow file for this run

name: Pull Request Validation
on:
pull_request:
permissions:
checks: write
pull-requests: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint && npm run typecheck
- name: Test
run: npm run test -- --ci --reporters=default --reporters=jest-junit
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: "junit.xml"
check_run_annotations: all tests, skipped tests
report_individual_runs: "true"