This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
feat: ci config for linting and typecheck #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code quality - typecheck | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
typecheck: | |
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 | |
- name: Typechecking | |
run: yarn tsc:compile |