File tree Expand file tree Collapse file tree 2 files changed +83
-29
lines changed Expand file tree Collapse file tree 2 files changed +83
-29
lines changed Original file line number Diff line number Diff line change
1
+ name : Poor Man's Code Review
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - dev
7
+ pull_request : {}
8
+
9
+ jobs :
10
+ lint :
11
+ name : 🔎 Lint
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ node-version : [18.x]
17
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18
+
19
+ steps :
20
+ - name : ⬇️ Checkout repo
21
+ uses : actions/checkout@v3
22
+
23
+ - name : ⬣ Setup node
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
27
+ cache : ' npm'
28
+
29
+ - name : 📥 NPM install (w/ cache)
30
+ uses : bahmutov/npm-install@v1
31
+
32
+ - name : 🔎 Lint
33
+ run : npm run lint:strict
34
+
35
+ prettify :
36
+ name : 💅 Prettify
37
+ runs-on : ubuntu-latest
38
+
39
+ strategy :
40
+ matrix :
41
+ node-version : [18.x]
42
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
43
+
44
+ steps :
45
+ - name : ⬇️ Checkout repo
46
+ uses : actions/checkout@v3
47
+
48
+ - name : ⬣ Setup node
49
+ uses : actions/setup-node@v3
50
+ with :
51
+ node-version : ${{ matrix.node-version }}
52
+ cache : ' npm'
53
+
54
+ - name : 📥 NPM install (w/ cache)
55
+ uses : bahmutov/npm-install@v1
56
+
57
+ - name : 💅 Prettier Check
58
+ run : npm run prettify:check
59
+
60
+ test :
61
+ name : 🤖 Test
62
+ runs-on : ubuntu-latest
63
+
64
+ strategy :
65
+ matrix :
66
+ node-version : [18.x]
67
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
68
+
69
+ steps :
70
+ - name : ⬇️ Checkout repo
71
+ uses : actions/checkout@v3
72
+
73
+ - name : ⬣ Setup node
74
+ uses : actions/setup-node@v3
75
+ with :
76
+ node-version : ${{ matrix.node-version }}
77
+ cache : ' npm'
78
+
79
+ - name : 📥 NPM install (w/ cache)
80
+ uses : bahmutov/npm-install@v1
81
+
82
+ - name : 🤖 Test
83
+ run : npm run test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments