-
-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (28 loc) · 907 Bytes
/
check.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
name: Check code
on: [push]
jobs:
test:
name: Check code
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "14.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: yarn --non-interactive --frozen-lockfile --ignore-scripts
- name: dead-code:check
run: yarn dead-code:check
- name: lint:check
run: yarn lint:check
- name: types:check
run: yarn types:check
- name: format:check
run: yarn format:check
- name: test:check
run: yarn test:check
- name: build
run: yarn build