File tree 2 files changed +40
-3
lines changed
2 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : linter
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - release
7
+ - release-candidate
8
+ tags :
9
+ - v*
10
+ pull_request :
11
+ branches :
12
+ - release
13
+ - release-candidate
14
+ - master
15
+ jobs :
16
+ linter :
17
+ runs-on : ' ubuntu-latest'
18
+ timeout-minutes : 40 # default is 360
19
+ strategy :
20
+ matrix :
21
+ node-version : [20.x]
22
+ steps :
23
+ - name : Checkout
24
+ # https://github.com/actions/checkout/releases/tag/v4.1.7
25
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
26
+
27
+ - name : Use Node.js ${{ matrix.node-version }}
28
+ # https://github.com/actions/setup-node/releases/tag/v4.0.2
29
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
30
+ with :
31
+ node-version : ${{ matrix.node-version }}
32
+
33
+ - name : Install dependencies
34
+ run : npm install
35
+
36
+ - name : Build
37
+ run : npm run build
38
+
39
+ - name : Lint and format
40
+ run : npm run format:check && npm run lint
Original file line number Diff line number Diff line change 36
36
- name : Build
37
37
run : npm run build
38
38
39
- - name : Lint and format
40
- run : npm run format:check && npm run lint
41
-
42
39
- name : Test
43
40
run : npm run test
44
41
You can’t perform that action at this time.
0 commit comments