You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
622 B

name: Check PR
on: [ pull_request ]
jobs:
run-ci:
name: Run Type Check & Linters
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies (with cache)
uses: bahmutov/npm-install@v1
- name: Check types
run: yarn type-check
- name: Check linting
run: yarn lint
- name: Check commits messages
uses: wagoid/commitlint-github-action@v4