Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

feat: ci config for linting and typecheck #417

Merged
merged 4 commits into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Code quality - linting and typechecking

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]

jobs:
linting:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "yarn"
cache-dependency-path: frontend/yarn.lock

- run: yarn install
- run: yarn prepare:http

- name: Linting
run: yarn lint:js

- name: Prettier
run: yarn format

- name: Typechecking
run: yarn tsc:compile
Loading