Skip to content

perf: add typescript support #4

perf: add typescript support

perf: add typescript support #4

Workflow file for this run

name: Pull Request
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Code Lint
run: npm run lint
- name: Test app build
run: npm run build --if-present
- name: Commit Lint
uses: wagoid/commitlint-github-action@v5
with:
failOnWarnings: true
- name: Test Coverage
uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage
with:
output: report-markdown
- name: Publish Coverage
uses: marocchino/sticky-pull-request-comment@v2
with:
message: ${{ steps.coverage.outputs.report }}