Skip to content

Issue #340 - Feature: CI(Github Actions) - Performs linting, formatting, and type-checking #1

Issue #340 - Feature: CI(Github Actions) - Performs linting, formatting, and type-checking

Issue #340 - Feature: CI(Github Actions) - Performs linting, formatting, and type-checking #1

Workflow file for this run

name: Code Checker
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
linting_and_type-checking:
name: Linting, Formatting and Type checking
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn
- name: Linting and Formatting checks
run: yarn run lint
- name: Type checking
run: yarn run typecheck
build:
name: Build check
runs-on: ubuntu-latest
needs: linting_and_type-checking
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn
- name: Build
run: yarn run build