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

docs: add issue and pull request rules #25

docs: add issue and pull request rules

docs: add issue and pull request rules #25

Workflow file for this run

name: 'CI'
on:
push:
branches:
- '**'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: |
npm i pnpm -g
pnpm install
- name: TypeScript check
run: tsc --noEmit
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm i prettier
- name: Run prettier check
run: npm run format:check