Skip to content

Commit

Permalink
feat: add cn lib (#10)
Browse files Browse the repository at this point in the history
* add lib for class names

* feat: add tests to CI
  • Loading branch information
korvin89 authored Jun 30, 2022
1 parent dfb6ed8 commit 796bdda
Show file tree
Hide file tree
Showing 15 changed files with 13,420 additions and 8,508 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,21 @@ jobs:
run: npm run lint
- name: Typecheck
run: npm run typecheck

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'npm'
- name: Install Packages
run: npm ci
- name: Unit Tests
run: npm run test
5 changes: 0 additions & 5 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ import type {Config} from '@jest/types';
const cfg: Config.InitialOptions = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
collectCoverage: true,
collectCoverageFrom: ['./src/**/*.{js,ts,tsx}'],
coverageReporters: ['json', 'html'],
coverageDirectory: './coverage',
setupFiles: ['<rootDir>/tests/setup.js'],
};

export default cfg;
Loading

0 comments on commit 796bdda

Please sign in to comment.