mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
26 lines
569 B
YAML
26 lines
569 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 12
|
||
|
uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: 12
|
||
|
|
||
|
- 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
|