mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
bbd2cf2a27
* refactor camelCaseToTitle * Rework identifierToHuman * Test identifierToHuman with Jest * Add Jest to frontent CI Co-authored-by: Michael Matloka <dev@twixes.com>
29 lines
634 B
YAML
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
|