-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) Β· 891 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Code Check
on:
push:
branches:
- main
- dev
pull_request: {}
concurrency:
group: ${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: ⬣ ESLint, Κ¦ TypeScript, π
Prettier, and π Test
runs-on: ubuntu-latest
steps:
- name: β¬οΈ Checkout repo
uses: actions/checkout@v2
- name: β Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: π§Ά Install yarn
run: yarn install
- name: π₯ Download deps
uses: u0reo/npm-install@fix/restore-failure
with:
useRollingCache: true
- name: π¬ Lint
run: yarn lint:strict
- name: π Type check
run: yarn typecheck
- name: π
Prettier check
run: yarn format:check
- name: π Run jest
run: yarn test