mirror this repo: https://github.com/The-Run-Philosophy-Organization/run.git
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
564 B
32 lines
564 B
name: Check PR
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- website
|
|
|
|
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
|
|
|