0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/.github/workflows/ci-frontend.yml
Paolo D'Amico bbd2cf2a27
Refactor camelCase util (#2487)
* refactor camelCaseToTitle

* Rework identifierToHuman

* Test identifierToHuman with Jest

* Add Jest to frontent CI

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-11-24 16:07:36 +01:00

29 lines
634 B
YAML

name: Frontend CI
on:
- pull_request
jobs:
code-quality:
name: Code quality checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Node 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install package.json dependencies with Yarn
run: yarn
- name: Check formatting with prettier
run: yarn prettier:check
- name: Lint with ESLint
run: yarn eslint
- name: Test with Jest
run: yarn test